mirror of
https://github.com/curl/curl.git
synced 2025-09-22 03:52:42 +03:00
fix out of memory handling issue
This commit is contained in:
parent
e9ffa9a3b8
commit
0d635a1119
|
@ -1170,7 +1170,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
|
||||||
if(!host) {
|
if(!host) {
|
||||||
free(req_buffer);
|
free(req_buffer);
|
||||||
free(host_port);
|
free(host_port);
|
||||||
result = CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!checkheaders(data, "Proxy-Connection:"))
|
if(!checkheaders(data, "Proxy-Connection:"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user