summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-10-12 17:38:02 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-10-12 17:38:02 +0200
commit012f269ed4e2feffdd93a164bc34e7e5c6b1a898 (patch)
tree09bfc52b9caa0327e33b82f5f569a7726052276b
parent65c38528ed7fe3eb86b44b97f14c75b344d4a116 (diff)
downloadcurl-bagder/hyper-proxy-error.tar.gz
fixup reaching the error label without an error is an errorbagder/hyper-proxy-error
-rw-r--r--lib/http_proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/http_proxy.c b/lib/http_proxy.c
index ead1d7080..4f6b45490 100644
--- a/lib/http_proxy.c
+++ b/lib/http_proxy.c
@@ -966,6 +966,7 @@ static CURLcode CONNECT(struct Curl_easy *data,
}
}
error:
+ DEBUGASSERT(result);
free(host);
free(hostheader);
if(io)