summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-05-26 22:29:40 -0600
committerKarl Williamson <public@khwilliamson.com>2011-05-26 22:52:26 -0600
commit626725768b7b17463e9ec7b92e2da37105036252 (patch)
tree2feed35f441d135c24455f90a1c9d69f17bb0c6e /embed.fnc
parentc1dcaaab2adb87f419a2e44e36f9510725a1a69d (diff)
downloadperl-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.fnc1
1 files changed, 0 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 6c33dc1ceb..71c10af6d7 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -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