From: Antony Dovgal Date: Mon, 28 Aug 2006 19:03:32 +0000 (+0000) Subject: MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534) X-Git-Tag: php-4.4.5RC1~76 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2668902ef1263f2e711b7699f4df03c543c266d4;p=php MFH: 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 ee60fb70a4..b9821000d4 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1227,6 +1227,7 @@ PHP_RSHUTDOWN_FUNCTION(basic) setlocale(LC_CTYPE, ""); } STR_FREE(BG(locale_string)); + BG(locale_string) = NULL; /* FG(stream_wrappers) are destroyed