diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-27 20:09:27 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-05-27 20:09:27 +0000 |
commit | efe6c6a19b7c016fee2f63a93a8d6f569c5793ba (patch) | |
tree | d0c57b32fc75125889ffd0767f31618968b73825 /mg.c | |
parent | 8668bebd28812651f7fc2b6e9fcb8047bd7f06e8 (diff) | |
download | perl-efe6c6a19b7c016fee2f63a93a8d6f569c5793ba.tar.gz |
A shot in the dark.
p4raw-id: //depot/perl@16820
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -364,11 +364,11 @@ Perl_mg_free(pTHX_ SV *sv) if (mg->mg_type == PERL_MAGIC_tiedscalar && SvROK(obj) && (SvRV(obj) == sv || GvIO(SvRV(obj)) == (IO *) sv)) { /* We are already free'ing the self-tied thing - so SvREFCNT_dec must not. + so must not SvREFCNT_dec. */ SvROK_off(obj); - } - SvREFCNT_dec(obj); + } else + SvREFCNT_dec(obj); } Safefree(mg); } |