summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-07-18 01:17:28 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-07-18 01:17:28 +0000
commitdc92893f11da1644967e0cba1816c77151a07426 (patch)
tree26101da8a817307673c2bb51cb296aec2270de06 /ext
parent13c658c95a9106efbd9a2a741a39e24c1c0f4e3b (diff)
downloadperl-dc92893f11da1644967e0cba1816c77151a07426.tar.gz
fix $/ init for multiple interpreters/threads
p4raw-id: //depot/perl@1523
Diffstat (limited to 'ext')
-rw-r--r--ext/Thread/Thread.xs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/Thread/Thread.xs b/ext/Thread/Thread.xs
index be1e7af560..5d47cd0251 100644
--- a/ext/Thread/Thread.xs
+++ b/ext/Thread/Thread.xs
@@ -158,6 +158,8 @@ threadstart(void *arg)
Safefree(tmps_stack);
Safefree(ofs);
+ SvREFCNT_dec(rs);
+ SvREFCNT_dec(nrs);
SvREFCNT_dec(statname);
Safefree(screamfirst);
Safefree(screamnext);