Commit bc77bf21 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

if there's a cookiehost allocated, free that too

parent 37d1e935
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);