aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 1cd493cbc..e01711413 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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);