mirror of
https://github.com/curl/curl.git
synced 2026-05-28 21:57:34 +03:00
parent
d3b04e5600
commit
bcd0497c81
19 changed files with 41 additions and 80 deletions
|
|
@ -507,8 +507,7 @@ CURLcode Curl_parse_interface(const char *input,
|
|||
++host_part;
|
||||
*host = curlx_memdup0(host_part, len - (host_part - input));
|
||||
if(!*host) {
|
||||
curlx_free(*iface);
|
||||
*iface = NULL;
|
||||
curlx_safefree(*iface);
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
return CURLE_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue