mirror of
https://github.com/php/php-src.git
synced 2026-03-27 09:42:22 +01:00
freed reader twice instead of writer and reader
This commit is contained in:
@@ -69,7 +69,7 @@ ZEND_API int zend_ts_hash_init_ex(TsHashTable *ht, uint nSize, hash_func_t pHash
|
||||
ZEND_API void zend_ts_hash_destroy(TsHashTable *ht)
|
||||
{
|
||||
tsrm_mutex_free(ht->mx_reader);
|
||||
tsrm_mutex_free(ht->mx_reader);
|
||||
tsrm_mutex_free(ht->mx_writer);
|
||||
zend_hash_destroy(TS_HASH(ht));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user