diff options
author | Andi Gutmans <andi@php.net> | 1999-08-19 16:52:53 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-08-19 16:52:53 +0000 |
commit | aeec4e198a348ab782d2c3dd543218e849b27299 (patch) | |
tree | 5a547cff6b34e3b80d2bfe4b7715c2ce0a8c48ac /ext/pcre/php_pcre.c | |
parent | e5fbf4414a1026aa14543eb64634c223e0431969 (diff) | |
download | php-git-aeec4e198a348ab782d2c3dd543218e849b27299.tar.gz |
- Fixed memory leaks. tsrm resource id deallocation still needs to be implemented.
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |