regression from nolock mode

This commit is contained in:
Anthony Minessale authored and Mike Jerris committed 2017-01-25 14:59:36 -06:00
1 parent aed03077ef
commit 68e5321da0
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -558,7 +558,9 @@ ks_hash_destroy(ks_hash_t **h)
ks_pool_safe_free(pool, (*h)->table);
ks_hash_write_unlock(*h);
if ((*h)->rwl) ks_pool_free(pool, (*h)->rwl);
ks_pool_free(pool, (*h)->mutex);
if ((*h)->mutex) {
ks_pool_free(pool, (*h)->mutex);
}
ks_pool_free(pool, *h);
pool = NULL;
*h = NULL;