aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-07 17:25:19 +0000
committerYang Tse <yangsita@gmail.com>2007-04-07 17:25:19 +0000
commita11374d99458de06ade789eb4f4308112f100be4 (patch)
treeacea0c795ec0be7e04f217c7e54a6cf7fc952863 /lib
parentd9e89e170f0b00de8f4b36bd20a5b5ad4110366c (diff)
fix out of memory handling issue
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;