Commit a11374d9 authored by Yang Tse's avatar Yang Tse
Browse files

fix out of memory handling issue

parent d9e89e17
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;