diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-05-26 22:29:40 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-05-26 22:52:26 -0600 |
commit | 626725768b7b17463e9ec7b92e2da37105036252 (patch) | |
tree | 2feed35f441d135c24455f90a1c9d69f17bb0c6e /embed.fnc | |
parent | c1dcaaab2adb87f419a2e44e36f9510725a1a69d (diff) | |
download | perl-626725768b7b17463e9ec7b92e2da37105036252.tar.gz |
regcomp.c: Fix memory leak regression
There was a remaining memory leak in the new inversion lists data
structure under threading. This solves it by changing the
implementation to use a SVpPV instead of doing our own memory
management. Then the already existing code for handling SVs
returns the memory when done.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1310,7 +1310,6 @@ EsM |void |invlist_extend |NN HV* const invlist|const UV len EsMR |HV* |invlist_intersection |NN HV* const a|NN HV* const b EiMR |UV |invlist_len |NN HV* const invlist EiMR |UV |invlist_max |NN HV* const invlist -EiM |void |invlist_set_array |NN HV* const invlist|NN const UV* const array EiM |void |invlist_set_len |NN HV* const invlist|const UV len EiM |void |invlist_set_max |NN HV* const invlist|const UV max EiM |void |invlist_trim |NN HV* const invlist |