This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
op.c: dump LABEL leaks its label
authorFather Chrysostomos <sprout@cpan.org>
Wed, 25 Jul 2012 23:40:37 +0000 (16:40 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Wed, 25 Jul 2012 23:40:37 +0000 (16:40 -0700)
commitc9df4fdaad9f9103ff3855e035e9eefd94acd65c
tree18a9ff517eb75d52535a8224ba0a8e63c1707fae
parent513f78f74946f885de1f0b5ed65c1cffa85650b3
op.c: dump LABEL leaks its label

./perl -Ilib -e 'warn $$; eval "sub { dump a }" while 1'

Watch the memory usage go up.

It didn’t have its own case in op_clear.
op.c