mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
fix crash on clean in nts
This commit is contained in:
parent
baceff6ad4
commit
64dabffd08
1 changed files with 7 additions and 0 deletions
7
phpdbg.c
7
phpdbg.c
|
@ -1217,6 +1217,13 @@ phpdbg_out:
|
|||
goto phpdbg_interact;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef ZTS
|
||||
/* force cleanup of auto and core globals */
|
||||
zend_hash_clean(CG(auto_globals));
|
||||
memset(
|
||||
&core_globals, 0, sizeof(php_core_globals));
|
||||
#endif
|
||||
|
||||
if (ini_entries) {
|
||||
free(ini_entries);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue