summaryrefslogtreecommitdiff
path: root/pp.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.c
parentb9d12d37e2ae2c5ceee42d544260d4d6703f71e8 (diff)
downloadperl-b03b9beb4aad24925326d26b7ad4ddf7ed2dbfea.tar.gz
avoid the circular refcnt logic in magic_mutexfree()
p4raw-id: //depot/perl@2052
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index 430e7a2a33..0bd3a23f48 100644
--- a/pp.c
+++ b/pp.c
@@ -4783,7 +4783,6 @@ PP(pp_lock)
DEBUG_S(PerlIO_printf(PerlIO_stderr(), "0x%lx: pp_lock lock 0x%lx\n",
(unsigned long)thr, (unsigned long)sv);)
MUTEX_UNLOCK(MgMUTEXP(mg));
- SvREFCNT_inc(sv); /* keep alive until magic_mutexfree */
save_destructor(unlock_condpair, sv);
}
#endif /* USE_THREADS */