Stop /(?{})+/ from leaking under fatal warnings
authorFather Chrysostomos <sprout@cpan.org>
Mon, 3 Dec 2012 01:40:36 +0000 (17:40 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 3 Dec 2012 16:53:44 +0000 (08:53 -0800)
commit7d12ff0f842717c6be578ba6e7e2463a8d27673e
treed8f161a446f58da5c8c07f3774cadc014e9a0622
parent6e240d0bbb2875825a18bd4f02983684ddfefa5f
Stop /(?{})+/ from leaking under fatal warnings

This commit arranges for the regexp to be freed in case the ‘blah blah
blah matches null string many times in regex’ warning proves fatal.
regcomp.c
t/op/svleak.t