fix crash on clean in nts

This commit is contained in:
krakjoe 2013-12-18 07:57:27 +00:00
parent baceff6ad4
commit 64dabffd08

View file

@ -1218,6 +1218,13 @@ phpdbg_out:
}
#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);
}