summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2003-01-11 11:34:43 +0000
committerHarald Radi <phanto@php.net>2003-01-11 11:34:43 +0000
commitc8d19858ac837fe2287332011e30c8bb67e3cd45 (patch)
tree606295eece96fe76552d5160dda85a110d7b6f27
parent213b5abd060aeb9884c9b526d14603b7d6eb304a (diff)
downloadphp-git-c8d19858ac837fe2287332011e30c8bb67e3cd45.tar.gz
freed reader twice instead of writer and reader
-rw-r--r--Zend/zend_ts_hash.c2
1 files changed, 1 insertions, 1 deletions
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));
}