unread
In the ZendEngine2 zend_shutdown() the GLOBAL_CONSTANTS_TABLE is
correctly destroyed and freed:
#ifdef ZTS
. . .
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
free(GLOBAL_CONSTANTS_TABLE);
. . .
#endif
Can this to MFHed into the PHP 4.3.x zend.c (where the
GLOBAL_CONSTANTS_TABLE is currently not getting freed on thread
shutdown) so that the bottom of zend_shutdown() looks like:
#ifndef ZTS
zend_shutdown_constants();
#else
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
free(GLOBAL_CONSTANTS_TABLE);
#endif
Michael Sisolak
msisolak@yahoo.com
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/