diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-05-30 03:09:38 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-05-30 03:09:38 +0000 |
commit | a1ae71d2eab6bef8ae541232f19e7e981e18b3c6 (patch) | |
tree | f173322b83bac1d406944a947f82289d75768796 /op.c | |
parent | 413e5597fa15080977e13a1ad58f104914a75a31 (diff) | |
download | perl-a1ae71d2eab6bef8ae541232f19e7e981e18b3c6.tar.gz |
fix memory leak in method call optimization (change#3768);
made C<eval "$x->foo()"> leak
p4raw-link: @3768 on //depot/perl: f5d5a27c761624409884a263632e1a922439502b
p4raw-id: //depot/perl@6162
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |