com php-src: Fixed bug #68676 (Explicit Double Free): Zend/zend_ts_hash.c
| From: | Kalle Sommer Nielsen | Date: | Mon, 29 Dec 2014 09:55:14 +0000 |
| Subject: | com php-src: Fixed bug #68676 (Explicit Double Free): Zend/zend_ts_hash.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83914@lists.php.net to get a copy of this message | ||
Commit: 2bcf69d073190e4f032d883f3416dea1b027a39e
Author: Kalle Sommer Nielsen <kalle@php.net> Mon, 29 Dec 2014 10:55:14 +0100
Parents: 334b9718d578caa9f4c6d3c2f7e2fb9b65696dc3
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2bcf69d073190e4f032d883f3416dea1b027a39e
Log:
Fixed bug #68676 (Explicit Double Free)
Bugs:
https://bugs.php.net/68676
Changed paths:
M Zend/zend_ts_hash.c
Diff:
diff --git a/Zend/zend_ts_hash.c b/Zend/zend_ts_hash.c
index 2d3eb74..48839f7 100644
--- a/Zend/zend_ts_hash.c
+++ b/Zend/zend_ts_hash.c
@@ -140,7 +140,7 @@ ZEND_API void zend_ts_hash_graceful_destroy(TsHashTable *ht)
#ifdef ZTS
tsrm_mutex_free(ht->mx_reader);
- tsrm_mutex_free(ht->mx_reader);
+ tsrm_mutex_free(ht->mx_writer);
#endif
}