mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fixed bug #63093 (Segfault while load extension failed in zts-build).
This commit is contained in:
parent
1b13ff6ec7
commit
4c6678d605
2
NEWS
2
NEWS
@ -3,6 +3,8 @@ PHP NEWS
|
||||
?? ??? 2012, PHP 5.3.18
|
||||
|
||||
- Core:
|
||||
. Fixed bug #63093 (Segfault while load extension failed in zts-build).
|
||||
(Laruence)
|
||||
. Fixed bug #62976 (Notice: could not be converted to int when comparing
|
||||
some builtin classes). (Laruence)
|
||||
. Fixed bug #61767 (Shutdown functions not called in certain error
|
||||
|
@ -2122,7 +2122,9 @@ void module_destructor(zend_module_entry *module) /* {{{ */
|
||||
/* Deinitilaise module globals */
|
||||
if (module->globals_size) {
|
||||
#ifdef ZTS
|
||||
ts_free_id(*module->globals_id_ptr);
|
||||
if (*module->globals_id_ptr) {
|
||||
ts_free_id(*module->globals_id_ptr);
|
||||
}
|
||||
#else
|
||||
if (module->globals_dtor) {
|
||||
module->globals_dtor(module->globals_ptr TSRMLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user