diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2004-01-17 23:58:04 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2004-01-17 23:58:04 +0000 |
commit | 58ed4fbe7c01c6db6f9e39be1bc81fb0854d3801 (patch) | |
tree | dd75a41c9d250b4665f73299d71958c15b61a2bf /scope.c | |
parent | 8f8d40ab34e002001c7e6f500a987fa1dfb3bd78 (diff) | |
download | perl-58ed4fbe7c01c6db6f9e39be1bc81fb0854d3801.tar.gz |
back out change #22167 "freeing a CV reference that was currently
being executed caused coredumps".
The new test case sometimes locks up linux's malloc, and with
Perl's malloc the test code still coredumps :-(
p4raw-link: @22167 on //depot/perl: b3a3b3a1da8f5142edf3e194532b08316f895282
p4raw-id: //depot/perl@22172
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1045,10 +1045,8 @@ Perl_leave_scope(pTHX_ I32 base) break; case SAVEt_COMPPAD: PL_comppad = (PAD*)SSPOPPTR; - if (PL_comppad) { + if (PL_comppad) PL_curpad = AvARRAY(PL_comppad); - SvREFCNT_dec(PL_comppad); - } else PL_curpad = Null(SV**); break; |