From aeec4e198a348ab782d2c3dd543218e849b27299 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 19 Aug 1999 16:52:53 +0000 Subject: - Fixed memory leaks. tsrm resource id deallocation still needs to be implemented. --- ext/pcre/php_pcre.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index ab696ad301..f11959df7e 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -136,6 +136,8 @@ int php_mshutdown_pcre(SHUTDOWN_FUNC_ARGS) { #ifndef ZTS zend_hash_destroy(&PCRE_G(pcre_cache)); +#else + ts_free_id(pcre_globals_id); #endif return SUCCESS; } -- cgit v1.2.1