projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4dd75d
)
fix yet another eval"" leak under USE_ITHREADS
author
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 2 Jun 2000 22:43:13 +0000
(22:43 +0000)
committer
Gurusamy Sarathy
<gsar@cpan.org>
Fri, 2 Jun 2000 22:43:13 +0000
(22:43 +0000)
p4raw-id: //depot/perl@6195
op.c
patch
|
blob
|
history
diff --git
a/op.c
b/op.c
index
affb597
..
9a16105
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-5339,6
+5339,7
@@
Perl_ck_rvconst(pTHX_ register OP *o)
#ifdef USE_ITHREADS
/* XXX hack: dependence on sizeof(PADOP) <= sizeof(SVOP) */
kPADOP->op_padix = pad_alloc(OP_GV, SVs_PADTMP);
+ SvREFCNT_dec(PL_curpad[kPADOP->op_padix]);
GvIN_PAD_on(gv);
PL_curpad[kPADOP->op_padix] = SvREFCNT_inc(gv);
#else