diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-26 13:37:05 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-02-26 13:37:05 +0000 |
commit | a2c090b32fe57241b25aa87d3fadb41ff58ba0a5 (patch) | |
tree | 39e23a4144fd4924af9202e99a068be84dc9b3e5 /op.c | |
parent | 108b0f499c26f3efed47eae5995cea3cbfe42e8b (diff) | |
download | perl-a2c090b32fe57241b25aa87d3fadb41ff58ba0a5.tar.gz |
Miscommunication at #8914: #8902 was okay, #8881 was to be retracted.
p4raw-id: //depot/perl@8941
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -4154,7 +4154,6 @@ Perl_cv_undef(pTHX_ CV *cv) LEAVE; } SvPOK_off((SV*)cv); /* forget prototype */ - CvFLAGS(cv) = 0; CvGV(cv) = Nullgv; SvREFCNT_dec(CvOUTSIDE(cv)); CvOUTSIDE(cv) = Nullcv; @@ -4183,6 +4182,7 @@ Perl_cv_undef(pTHX_ CV *cv) } CvPADLIST(cv) = Nullav; } + CvFLAGS(cv) = 0; } #ifdef DEBUG_CLOSURES @@ -5799,7 +5799,6 @@ Perl_ck_glob(pTHX_ OP *o) gv = newGVgen("main"); gv_IOadd(gv); append_elem(OP_GLOB, o, newGVOP(OP_GV, 0, gv)); - SvREFCNT_dec((SV*)gv); /* had excess refcnt */ scalarkids(o); return o; } |