From: Harald Radi Date: Sat, 11 Jan 2003 11:34:43 +0000 (+0000) Subject: freed reader twice instead of writer and reader X-Git-Tag: PHP_5_0_dev_before_13561_fix~319 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8d19858ac837fe2287332011e30c8bb67e3cd45;p=php freed reader twice instead of writer and reader --- diff --git a/Zend/zend_ts_hash.c b/Zend/zend_ts_hash.c index e848769ae4..4bf7527aa7 100644 --- a/Zend/zend_ts_hash.c +++ b/Zend/zend_ts_hash.c @@ -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)); }