Loading lib/hostip.c +3 −3 Original line number Diff line number Diff line Loading @@ -239,8 +239,8 @@ cache_resolv_response(struct SessionHandle *data, return the same argument we pass in. Make no assumptions. */ dns = Curl_hash_add(data->hostcache, entry_id, entry_len+1, (void *)dns); if(!dns) { /* major badness, run away! */ Curl_freeaddrinfo(addr); /* Major badness, run away. When this happens, the 'dns' data has already been cleared up by Curl_hash_add(). */ free(entry_id); return NULL; } Loading Loading
lib/hostip.c +3 −3 Original line number Diff line number Diff line Loading @@ -239,8 +239,8 @@ cache_resolv_response(struct SessionHandle *data, return the same argument we pass in. Make no assumptions. */ dns = Curl_hash_add(data->hostcache, entry_id, entry_len+1, (void *)dns); if(!dns) { /* major badness, run away! */ Curl_freeaddrinfo(addr); /* Major badness, run away. When this happens, the 'dns' data has already been cleared up by Curl_hash_add(). */ free(entry_id); return NULL; } Loading