diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-07 17:25:19 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-07 17:25:19 +0000 |
commit | a11374d99458de06ade789eb4f4308112f100be4 (patch) | |
tree | acea0c795ec0be7e04f217c7e54a6cf7fc952863 /lib | |
parent | d9e89e170f0b00de8f4b36bd20a5b5ad4110366c (diff) |
fix out of memory handling issue
Diffstat (limited to 'lib')
-rw-r--r-- | lib/multi.c | 1 |
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; |