[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63381] [octave forge] (string) Properly clean
From: |
Rafael Laboissière |
Subject: |
[Octave-bug-tracker] [bug #63381] [octave forge] (string) Properly cleanup of PCRE2 data |
Date: |
Thu, 17 Nov 2022 15:24:26 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63381>
Summary: [octave forge] (string) Properly cleanup of PCRE2
data
Project: GNU Octave
Submitter: rlaboiss
Submitted: Thu 17 Nov 2022 08:24:24 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 17 Nov 2022 08:24:24 PM UTC By: Rafael Laboissière <rlaboiss>
Some time ago, I contributed to the port of the code in src/pcregexp.cc to
PCRE2 (bug #61570). I just discovered that, in my patch, the data created by
the functions pcre2_compile and pcre2_match_data_create_from_pattern are not
cleaned up properly, what may cause a memory leak.
The patch attached to this bug report seems to fix the problem.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 17 Nov 2022 08:24:24 PM UTC Name: unwind-protect-cleanup.patch
Size: 1KiB By: rlaboiss
<http://savannah.gnu.org/bugs/download.php?file_id=53968>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63381>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63381] [octave forge] (string) Properly cleanup of PCRE2 data,
Rafael Laboissière <=