mirror of
https://github.com/curl/curl.git
synced 2026-06-03 12:04:14 +03:00
if there's a cookiehost allocated, free that too
This commit is contained in:
parent
37d1e9351e
commit
bc77bf217f
1 changed files with 2 additions and 0 deletions
|
|
@ -1217,6 +1217,8 @@ CURLcode Curl_disconnect(struct connectdata *conn)
|
|||
free(conn->allocptr.cookie);
|
||||
if(conn->allocptr.host)
|
||||
free(conn->allocptr.host);
|
||||
if(conn->allocptr.cookiehost)
|
||||
free(conn->allocptr.cookiehost);
|
||||
|
||||
if(conn->proxyhost)
|
||||
free(conn->proxyhost);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue