]> granicus.if.org Git - php/commitdiff
freed reader twice instead of writer and reader
authorHarald Radi <phanto@php.net>
Sat, 11 Jan 2003 11:34:43 +0000 (11:34 +0000)
committerHarald Radi <phanto@php.net>
Sat, 11 Jan 2003 11:34:43 +0000 (11:34 +0000)
Zend/zend_ts_hash.c

index e848769ae4b9a31252ff8eb9f1e7f63665a1451d..4bf7527aa7bc89dba1632b289e7060726da64b31 100644 (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));
 }