Fix memleaks

This commit is contained in:
Marcus Boerger 2003-12-12 08:25:58 +00:00
parent 2f9be5d518
commit a54c7dcb20

View File

@ -697,6 +697,9 @@ void zend_shutdown(TSRMLS_D)
zend_shutdown_constants(TSRMLS_C);
#ifdef ZTS
zend_hash_destroy(GLOBAL_CONSTANTS_TABLE);
free(GLOBAL_FUNCTION_TABLE);
free(GLOBAL_CLASS_TABLE);
free(GLOBAL_CONSTANTS_TABLE);
#endif
}