This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Stop regexp-to-pv assignemnt from leaking
authorFather Chrysostomos <sprout@cpan.org>
Sun, 28 Oct 2012 21:41:55 +0000 (14:41 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 28 Oct 2012 21:41:55 +0000 (14:41 -0700)
SvPV_set will just set SvPVX, allowing the existing value to leak.

This leak was caused by f082678508, which allowed reg_temp_copy to
be called with an existing SV, but without modifying the contents of
reg_temp_copy to account.


No differences found