aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-04-30 19:58:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-04-30 19:58:36 +0000
commitbc77bf217f3a7dd21007e9dd1b62b90eb8d25070 (patch)
treeb1e2c40d05893d6bfeb24633ac6fce09b5436c6d
parent37d1e9351ee5802a2ebc22592534c88c12c0ba90 (diff)
if there's a cookiehost allocated, free that too
-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);