summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-26 13:37:05 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-26 13:37:05 +0000
commita2c090b32fe57241b25aa87d3fadb41ff58ba0a5 (patch)
tree39e23a4144fd4924af9202e99a068be84dc9b3e5 /op.c
parent108b0f499c26f3efed47eae5995cea3cbfe42e8b (diff)
downloadperl-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/op.c b/op.c
index ab9d7b16e3..eb60121edf 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;
}