mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
freed reader twice instead of writer and reader
This commit is contained in:
parent
213b5abd06
commit
c8d19858ac
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user