1
0
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:
Harald Radi
2003-01-11 11:34:43 +00:00
parent 213b5abd06
commit c8d19858ac

View File

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