From a11374d99458de06ade789eb4f4308112f100be4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 7 Apr 2007 17:25:19 +0000 Subject: [PATCH] fix out of memory handling issue --- lib/multi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/multi.c b/lib/multi.c index 54037b3581..17003f47b6 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;