Skip to content
Snippets Groups Projects
Commit bc77bf21 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

if there's a cookiehost allocated, free that too

parent 37d1e935
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment