Browse Source

set BG(locale_string) to NULL on shutdown (partly fixes #38534)

migration/RELEASE_1_0_0
Antony Dovgal 20 years ago
parent
commit
efb89cfbe1
  1. 1
      ext/standard/basic_functions.c

1
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

Loading…
Cancel
Save