Stop /[:foo:]/ from leaking under fatal warnings
authorFather Chrysostomos <sprout@cpan.org>
Tue, 4 Dec 2012 19:18:36 +0000 (11:18 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 4 Dec 2012 22:33:31 +0000 (14:33 -0800)
commitd15d727a14644c88dcdc421859433cb86111c0ea
treefc90a73328f044340a5166941c888da58684117a
parentf5eec17cdc8138641bd75afb9c79295f9bbecde3
Stop /[:foo:]/ from leaking under fatal warnings

This commit arranges for the regexp and one temporary sv in S_regclass
to be freed in case the ‘POSIX syntax [: :] belongs inside character
classes’ warning proves fatal.
regcomp.c
t/op/svleak.t