diff options
author | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-23 09:22:40 +0000 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1997-10-23 09:22:40 +0000 |
commit | e55aaa0ea8ae9df2251fb793d58ce52f2d4ed736 (patch) | |
tree | 3ebcd6bf8d63887173e00a8588bb2eb51e1c07d3 /mg.c | |
parent | f81e73367db8ca5c7f6b9b2cd46247cf88cf9e89 (diff) | |
download | perl-e55aaa0ea8ae9df2251fb793d58ce52f2d4ed736.tar.gz |
Fix refcounts for lock/magic_mutexfree. Make OP_LOCK auto-ref
its argument using ck_rfun as OP_DEFINED. Make pp_lock return
a ref to its argument for AV, HV, CV.
p4raw-id: //depot/perl@170
Diffstat (limited to 'mg.c')
-rw-r--r-- | mg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1723,6 +1723,7 @@ MAGIC *mg; croak("panic: magic_mutexfree"); MUTEX_DESTROY(MgMUTEXP(mg)); COND_DESTROY(MgCONDP(mg)); + SvREFCNT_dec(sv); return 0; } #endif /* USE_THREADS */ |