Stop "\N{...}" from leaking after errors
authorFather Chrysostomos <sprout@cpan.org>
Wed, 5 Dec 2012 07:13:56 +0000 (23:13 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 5 Dec 2012 17:36:10 +0000 (09:36 -0800)
commit14ca8ff4550183227342256bd45185f428ac400d
tree5f0d9ee9521c0b675e942ba497715d2a6cc7e69d
parent2f995715b99bbbe6f6e89b02b509a1f99f41ecd4
Stop "\N{...}" from leaking after errors

After a syntax error, S_new_constant in toke.c was not mortalising as
promised.

In this case, it doesn’t need to mortalise the variable.  It can sim-
ply free it.
t/op/svleak.t
toke.c