From: Daniel Stenberg Date: Wed, 30 Apr 2003 19:58:36 +0000 (+0000) Subject: if there's a cookiehost allocated, free that too X-Git-Tag: curl-7_10_5~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc77bf217f3a7dd21007e9dd1b62b90eb8d25070;p=curl if there's a cookiehost allocated, free that too --- 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);