summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Zend/zend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index e8f0553c22..5d220d8cf2 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -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
}