mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Free ZTS lock in opcache
For some reason this only shows up as a leak when using phpdbg.
This commit is contained in:
parent
8c4d199851
commit
a78adce5cb
1 changed files with 4 additions and 0 deletions
|
@ -285,6 +285,10 @@ void zend_shared_alloc_shutdown(void)
|
||||||
g_shared_alloc_handler = NULL;
|
g_shared_alloc_handler = NULL;
|
||||||
#ifndef ZEND_WIN32
|
#ifndef ZEND_WIN32
|
||||||
close(lock_file);
|
close(lock_file);
|
||||||
|
|
||||||
|
# ifdef ZTS
|
||||||
|
tsrm_mutex_free(zts_lock);
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue