This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Stop \P{Assigned} from leaking
authorFather Chrysostomos <sprout@cpan.org>
Mon, 19 Nov 2012 02:36:12 +0000 (18:36 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 19 Nov 2012 04:17:19 +0000 (20:17 -0800)
commit4aca0fe60f57f806473daef9c7357107f75f684f
tree1cd578f6e71b5addd6a1011bbabdb273fe822648
parentcc34d8c5166167fcc3b2144eab4efb369901f305
Stop \P{Assigned} from leaking

I suspect this leak also applies to any large character classes.

An HV created with newHV has a reference count of 1, so doing
newRV_inc on it will cause a leak.
t/op/svleak.t
utf8.c