summaryrefslogtreecommitdiff
path: root/mg.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-10-25 04:49:04 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-10-25 04:49:04 +0000
commitb03b9beb4aad24925326d26b7ad4ddf7ed2dbfea (patch)
treef8b675dad90b35a774208f8bb71fa7c2e322244d /mg.c
parentb9d12d37e2ae2c5ceee42d544260d4d6703f71e8 (diff)
downloadperl-b03b9beb4aad24925326d26b7ad4ddf7ed2dbfea.tar.gz
avoid the circular refcnt logic in magic_mutexfree()
p4raw-id: //depot/perl@2052
Diffstat (limited to 'mg.c')
-rw-r--r--mg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mg.c b/mg.c
index f3fc7d7415..49ad9beea9 100644
--- a/mg.c
+++ b/mg.c
@@ -2007,7 +2007,6 @@ magic_mutexfree(SV *sv, MAGIC *mg)
croak("panic: magic_mutexfree");
MUTEX_DESTROY(MgMUTEXP(mg));
COND_DESTROY(MgCONDP(mg));
- SvREFCNT_dec(sv);
return 0;
}
#endif /* USE_THREADS */