mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix: non-initialized mutex (crash under Windows)
This commit is contained in:
1 parent
7c1bc48c85
commit
16af910f3a
1 file changed
+1
@@ -9,6 +9,7 @@ struct hashentry {
|
|||||||
|
|
||||||
|
|
||||||
void destroyhashtable(struct hashtable *ht){
|
void destroyhashtable(struct hashtable *ht){
|
||||||
|
if(!ht->ihashtable) return;
|
||||||
_3proxy_mutex_lock(&ht->hash_mutex);
|
_3proxy_mutex_lock(&ht->hash_mutex);
|
||||||
if(ht->ihashtable){
|
if(ht->ihashtable){
|
||||||
free(ht->ihashtable);
|
free(ht->ihashtable);
|
||||||
|
|||||||
Reference in new issue
Block a user