mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix memleaks
This commit is contained in:
parent
2f9be5d518
commit
a54c7dcb20
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user