Stop /[\i]/ from leaking under fatal warnings
authorFather Chrysostomos <sprout@cpan.org>
Mon, 3 Dec 2012 01:46:24 +0000 (17:46 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Mon, 3 Dec 2012 16:53:44 +0000 (08:53 -0800)
commitea5a229a68de4c28f958df96cd57ae768501de7a
tree31e7b32b075b8f0f27e0997c852fe06ed490a8c0
parent7d12ff0f842717c6be578ba6e7e2463a8d27673e
Stop /[\i]/ from leaking under fatal warnings

This commit arranges for the regexp and one temporary sv in S_regclass
to be freed in case the ‘Unrecognized escape \x in character class’
warning proves fatal.
regcomp.c
t/op/svleak.t