diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-09 05:47:53 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-11-09 05:47:53 +0000 |
commit | 7f28abaa4e165b43fff1ffa752c03fe884278a53 (patch) | |
tree | 13aa021e467ddd73caceda584cd50e9f1e2182f8 /op.c | |
parent | 25dbdbbc9baa4ce445d83d58ac5170ed28a46c2c (diff) | |
download | perl-7f28abaa4e165b43fff1ffa752c03fe884278a53.tar.gz |
small nits in changes#4538,4539
p4raw-link: @4539 on //depot/perl: 350de78d9c02710bb008e9ca922c78ba251ec366
p4raw-link: @4538 on //depot/perl: d18c61170a30691556a1da7413e13241a92f4e0a
p4raw-id: //depot/perl@4541
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -717,11 +717,15 @@ S_op_clear(pTHX_ OP *o) case OP_GVSV: case OP_GV: case OP_AELEMFAST: - SvREFCNT_dec(cGVOPo); #ifdef USE_ITHREADS + if (PL_curpad) { + SvREFCNT_dec(cGVOPo); + PL_curpad[cPADOPo->op_padix] = Nullsv; + } pad_free(cPADOPo->op_padix); cPADOPo->op_padix = 0; #else + SvREFCNT_dec(cGVOPo); cSVOPo->op_sv = Nullsv; #endif break; |