aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 54037b358..17003f47b 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -352,6 +352,7 @@ CURLM *curl_multi_init(void)
multi->connc = Curl_mk_connc(CONNCACHE_MULTI, -1);
if(!multi->connc) {
+ Curl_hash_destroy(multi->sockhash);
Curl_hash_destroy(multi->hostcache);
free(multi);
return NULL;