cvs: ZendEngine2 / zend_ts_hash.c
| From: | Harald Radi | Date: | Sat, 11 Jan 2003 11:34:43 +0000 |
| Subject: | cvs: ZendEngine2 / zend_ts_hash.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-789@lists.php.net to get a copy of this message | ||
phanto Sat Jan 11 06:34:43 2003 EDT
Modified files:
/ZendEngine2 zend_ts_hash.c
Log:
freed reader twice instead of writer and reader
Index: ZendEngine2/zend_ts_hash.c
diff -u ZendEngine2/zend_ts_hash.c:1.5 ZendEngine2/zend_ts_hash.c:1.6
--- ZendEngine2/zend_ts_hash.c:1.5 Tue Dec 31 10:54:08 2002
+++ ZendEngine2/zend_ts_hash.c Sat Jan 11 06:34:43 2003
@@ -69,7 +69,7 @@
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));
}