summaryrefslogtreecommitdiff
path: root/pp_hot.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 /pp_hot.c
parentb9d12d37e2ae2c5ceee42d544260d4d6703f71e8 (diff)
downloadperl-b03b9beb4aad24925326d26b7ad4ddf7ed2dbfea.tar.gz
avoid the circular refcnt logic in magic_mutexfree()
p4raw-id: //depot/perl@2052
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 89bbba7ebf..e59867ed58 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2110,7 +2110,6 @@ PP(pp_entersub)
DEBUG_S(PerlIO_printf(PerlIO_stderr(), "%p: pp_entersub lock %p\n",
thr, sv);)
MUTEX_UNLOCK(MgMUTEXP(mg));
- SvREFCNT_inc(sv); /* Keep alive until magic_mutexfree */
save_destructor(unlock_condpair, sv);
}
MUTEX_LOCK(CvMUTEXP(cv));