summaryrefslogtreecommitdiff
path: root/ext/XS-APItest/APItest.pm
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-03-25 14:22:02 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-03-25 14:25:55 -0700
commitfefd015fc8da20cc1e26de042052ba62ac8bc583 (patch)
tree9d1d773745d5ee49e293b928bef8a991be51c2f2 /ext/XS-APItest/APItest.pm
parentf232b41c679f24b875f6f23a4abe659b0c946942 (diff)
downloadperl-fefd015fc8da20cc1e26de042052ba62ac8bc583.tar.gz
Copy the pv in parse_label
Two commits ago, the label-handling code in the tokenizer was changed to record the label in an SVOP instead of just a plain unclaimed PV. Likewise, the parser (perly.y) was changed to copy the string out of the SVOP’s SV, insteading of taking ownership of the existing PV. parse_label was modified to take the string out of the SVOP, but was not copying it like perly.y. So it resulted in this: $ PERL_DESTRUCT_LEVEL=2 ./perl -Ilib ext/XS-APItest/t/swaplabel.t 1..56 ok 1 ... truncated ... ok 56 panic: free from wrong pool during global destruction.
Diffstat (limited to 'ext/XS-APItest/APItest.pm')
0 files changed, 0 insertions, 0 deletions