This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Fix memory leak regression
authorNicholas Clark <nick@ccl4.org>
Fri, 27 May 2011 04:29:40 +0000 (22:29 -0600)
committerKarl Williamson <public@khwilliamson.com>
Fri, 27 May 2011 04:52:26 +0000 (22:52 -0600)
commit626725768b7b17463e9ec7b92e2da37105036252
tree2feed35f441d135c24455f90a1c9d69f17bb0c6e
parentc1dcaaab2adb87f419a2e44e36f9510725a1a69d
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.
embed.fnc
embed.h
proto.h
regcomp.c