From 16af910f3a648b55519dae209d8c9f1ffbc4d5d2 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 22 May 2026 16:57:53 +0300 Subject: [PATCH] Fix: non-initialized mutex (crash under Windows) --- src/hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hash.c b/src/hash.c index 6d3e97d..0aafb9b 100644 --- a/src/hash.c +++ b/src/hash.c @@ -9,6 +9,7 @@ struct hashentry { void destroyhashtable(struct hashtable *ht){ + if(!ht->ihashtable) return; _3proxy_mutex_lock(&ht->hash_mutex); if(ht->ihashtable){ free(ht->ihashtable);