diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-10 19:45:45 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-08-10 19:45:45 +0000 |
commit | 2affe78f01f9cd3aae1b214beb9140e1fe830c7d (patch) | |
tree | 76a5be967500a95926f6a765f42c83d196af278e /pad.c | |
parent | 6cbc0cd1d96dba8bcda440e8ed6dde3e7b3a050b (diff) | |
download | perl-2affe78f01f9cd3aae1b214beb9140e1fe830c7d.tar.gz |
Retract #20597, too many resulting core dumps.
p4raw-id: //depot/perl@20602
Diffstat (limited to 'pad.c')
-rw-r--r-- | pad.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -258,15 +258,9 @@ Perl_pad_undef(pTHX_ CV* cv) { assert(CvWEAKOUTSIDE(innercv)); CvWEAKOUTSIDE_off(innercv); + CvOUTSIDE(innercv) = outercv; CvOUTSIDE_SEQ(innercv) = seq; - /* don't relink to grandfather if he's being freed */ - if (SvREFCNT(outercv)) { - CvOUTSIDE(innercv) = outercv; - SvREFCNT_inc(outercv); - } - else { - CvOUTSIDE(innercv) = Nullcv; - } + SvREFCNT_inc(outercv); } } } |