diff options
-rw-r--r-- | ext/opcache/zend_shared_alloc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/zend_shared_alloc.c b/ext/opcache/zend_shared_alloc.c index e4e44c35be..8e75cda333 100644 --- a/ext/opcache/zend_shared_alloc.c +++ b/ext/opcache/zend_shared_alloc.c @@ -285,6 +285,10 @@ void zend_shared_alloc_shutdown(void) g_shared_alloc_handler = NULL; #ifndef ZEND_WIN32 close(lock_file); + +# ifdef ZTS + tsrm_mutex_free(zts_lock); +# endif #endif } |