diff options
author | Antony Dovgal <tony2001@php.net> | 2006-08-28 18:58:47 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-08-28 18:58:47 +0000 |
commit | ecfa8808209f116a7cf40c38987781d56e5a7808 (patch) | |
tree | 9627b2aa3f97ac06188430e65bc5f1c6e53986b5 | |
parent | 613237188adee0ba455fc4f32ddad33ae091b241 (diff) | |
download | php-git-ecfa8808209f116a7cf40c38987781d56e5a7808.tar.gz |
MFH: set BG(locale_string) to NULL on shutdown (partly fixes #38534)
-rw-r--r-- | ext/standard/basic_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 81e464dc44..6342e0f09a 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -4150,6 +4150,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 |