mirror of
https://github.com/curl/curl.git
synced 2026-07-25 16:57:22 +03:00
http_proxy: fix one more result assign for hyper
and remove the bad assert again, since it was run even with no error! Closes #7854
This commit is contained in:
parent
afd489885e
commit
975a54dd86
1 changed files with 1 additions and 1 deletions
|
|
@ -735,6 +735,7 @@ static CURLcode CONNECT(struct Curl_easy *data,
|
|||
io = hyper_io_new();
|
||||
if(!io) {
|
||||
failf(data, "Couldn't create hyper IO");
|
||||
result = CURLE_OUT_OF_MEMORY;
|
||||
goto error;
|
||||
}
|
||||
/* tell Hyper how to read/write network data */
|
||||
|
|
@ -966,7 +967,6 @@ static CURLcode CONNECT(struct Curl_easy *data,
|
|||
}
|
||||
}
|
||||
error:
|
||||
DEBUGASSERT(result);
|
||||
free(host);
|
||||
free(hostheader);
|
||||
if(io)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue