1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

if there's a cookiehost allocated, free that too

This commit is contained in:
Daniel Stenberg 2003-04-30 19:58:36 +00:00
parent 37d1e9351e
commit bc77bf217f

View File

@ -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);