From: Antony Dovgal Date: Mon, 28 Aug 2006 18:58:22 +0000 (+0000) Subject: set BG(locale_string) to NULL on shutdown (partly fixes #38534) X-Git-Tag: RELEASE_1_0_0RC1~1867 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efb89cfbe14199229d72a423240664f954726059;p=php set BG(locale_string) to NULL on shutdown (partly fixes #38534) --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index dcf4700b18..1a528eb831 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4149,6 +4149,7 @@ PHP_RSHUTDOWN_FUNCTION(basic) setlocale(LC_CTYPE, ""); } STR_FREE(BG(locale_string)); + BG(locale_string) = NULL; /* FG(stream_wrappers) and FG(stream_filters) are destroyed