Skip to content
Snippets Groups Projects
Commit a11374d9 authored by Yang Tse's avatar Yang Tse
Browse files

fix out of memory handling issue

parent d9e89e17
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment