diff options
author | Nicholas Clark <nick@ccl4.org> | 2003-10-23 20:44:09 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2003-10-23 20:44:09 +0000 |
commit | 1624910aabf320d4a6e736454c7836595738ff84 (patch) | |
tree | 40856f8b1a86cba5b7b1760c606aacc56a889be1 | |
parent | f6eec1c3b82b0d24fc717c353cff15e25347389f (diff) | |
download | perl-1624910aabf320d4a6e736454c7836595738ff84.tar.gz |
Integrate:
[ 21527]
Fix two threads::shared leaks
#24061 - AV in shared interpreter wasn't set to AvREAL
#24255 - mortals were added to the shared interpreter's tmpstack
and never freed.
[oops. Also sucked in a typo correction in blead]
p4raw-link: @21527 on //depot/perl: aa49c2f8cdfe618e292a459ac4668178f67243bd
p4raw-id: //depot/perl@21530
p4raw-edited: from //depot/maint-5.8/perl@21528 'copy'
ext/threads/shared/shared.xs (@21330..)
-rw-r--r-- | ext/threads/shared/shared.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/threads/shared/shared.xs b/ext/threads/shared/shared.xs index 52f54bee69..4bf4c786de 100644 --- a/ext/threads/shared/shared.xs +++ b/ext/threads/shared/shared.xs @@ -440,7 +440,7 @@ sharedsv_scalar_store(pTHX_ SV *sv, shared_sv *shared) SHARED_CONTEXT; /* #24255: sv_setsv() (via sv_unref_flags()) may cause a * deferred free with sv_2mortal(). Ensure that the free_tmps - * is done within this inpterpreter. DAPM. + * is done within this interpreter. DAPM. */ ENTER; SAVETMPS; |