mirror of
https://github.com/curl/curl.git
synced 2026-04-15 16:41:40 +03:00
http_proxy: Fix tiny memory leak upon edge case connecting to proxy
Fixes #1255
This commit is contained in:
parent
a7e4348cf8
commit
7fe81ec298
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ CURLcode Curl_proxyCONNECT(struct connectdata *conn,
|
|||
useragent,
|
||||
proxyconn);
|
||||
|
||||
if(host && *host)
|
||||
if(host)
|
||||
free(host);
|
||||
free(hostheader);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue