From a25136184969a07d424d4ceab23178935f0dc855 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 12 Dec 2003 11:14:44 +0000 Subject: Free is needed in non ZTS too --- Zend/zend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zend/zend.c') diff --git a/Zend/zend.c b/Zend/zend.c index ef29600639..983d46e17b 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -703,11 +703,11 @@ void zend_shutdown(TSRMLS_D) free(zend_version_info); zend_shutdown_constants(TSRMLS_C); + free(GLOBAL_FUNCTION_TABLE); + free(GLOBAL_CLASS_TABLE); #ifdef ZTS zend_destroy_rsrc_list(&EG(persistent_list) TSRMLS_CC); zend_hash_destroy(GLOBAL_CONSTANTS_TABLE); - free(GLOBAL_FUNCTION_TABLE); - free(GLOBAL_CLASS_TABLE); free(GLOBAL_CONSTANTS_TABLE); GLOBAL_FUNCTION_TABLE = NULL; GLOBAL_CLASS_TABLE = NULL; -- cgit v1.2.1