From: Nicholas Clark Date: Thu, 23 Oct 2003 20:44:09 +0000 (+0000) Subject: Integrate: X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1624910aabf320d4a6e736454c7836595738ff84;p=p5sagit%2Fp5-mst-13.2.git 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..) --- diff --git a/ext/threads/shared/shared.xs b/ext/threads/shared/shared.xs index 52f54be..4bf4c78 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;