From: Jarkko Hietaniemi Date: Mon, 26 Feb 2001 13:37:05 +0000 (+0000) Subject: Miscommunication at #8914: #8902 was okay, #8881 was to be retracted. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a2c090b32fe57241b25aa87d3fadb41ff58ba0a5;p=p5sagit%2Fp5-mst-13.2.git Miscommunication at #8914: #8902 was okay, #8881 was to be retracted. p4raw-id: //depot/perl@8941 --- diff --git a/op.c b/op.c index ab9d7b1..eb60121 100644 --- a/op.c +++ b/op.c @@ -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; }