Free ZTS lock in opcache

For some reason this only shows up as a leak when using phpdbg.
This commit is contained in:
Nikita Popov 2019-06-27 16:01:13 +02:00
parent 8c4d199851
commit a78adce5cb

View file

@ -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
}