Stop toke.c:S_scan_const from leaking
authorFather Chrysostomos <sprout@cpan.org>
Sat, 24 Nov 2012 01:54:09 +0000 (17:54 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 24 Nov 2012 01:54:09 +0000 (17:54 -0800)
commitb899e89d91e81e631e553a5b805e8d068828dbf0
tree4c885aac1730e34c7d01b8814cd4c26c628cd61f
parenteed484f95050ad51c720521f68c6341a14bf5638
Stop toke.c:S_scan_const from leaking

Fatal warnings and errors can cause the string buffer used when
scanning a quote-like operator to leak.  This commit fixes it
by using the savestack.  There are still a few leaks from that
code path that are not fixed by this.
t/op/svleak.t
toke.c