summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-18 01:22:35 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-18 01:22:35 +0000
commitf6aaf50100351be0339a4acf484db91a3c02a9ca (patch)
tree2e25ffd9b22abf41c1a69f9af980f1f838d6a7ae /toke.c
parentdc92893f11da1644967e0cba1816c77151a07426 (diff)
downloadperl-f6aaf50100351be0339a4acf484db91a3c02a9ca.tar.gz
fix CvMUTEXP() leaks with -Dusethreads
p4raw-id: //depot/perl@1524
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toke.c b/toke.c
index db8775859a..9685fc3e32 100644
--- a/toke.c
+++ b/toke.c
@@ -5967,9 +5967,6 @@ start_subparse(I32 is_format, U32 flags)
av_store(comppad_name, 0, newSVpv("@_", 2));
curpad[0] = (SV*)newAV();
SvPADMY_on(curpad[0]); /* XXX Needed? */
- CvOWNER(compcv) = 0;
- New(666, CvMUTEXP(compcv), 1, perl_mutex);
- MUTEX_INIT(CvMUTEXP(compcv));
#endif /* USE_THREADS */
comppadlist = newAV();