projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
413e559
)
fix memory leak in method call optimization (change#3768);
Gurusamy Sarathy [Tue, 30 May 2000 03:09:38 +0000 (
03:09
+0000)]
made C<eval "$x->foo()"> leak
p4raw-link: @3768 on //depot/perl:
f5d5a27c761624409884a263632e1a922439502b
p4raw-id: //depot/perl@6162
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
6e77fde
..
1813232
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-784,6
+784,7
@@
S_op_clear(pTHX_ OP *o)
cSVOPo->op_sv = Nullsv;
#endif
break;
+ case OP_METHOD_NAMED:
case OP_CONST:
SvREFCNT_dec(cSVOPo->op_sv);
cSVOPo->op_sv = Nullsv;