"Igor" pointed out that CURLOPT_COOKIELIST set to "ALL" leaked memory, and so

did "SESS". Fixed now.
This commit is contained in:
Daniel Stenberg
2008-01-23 22:22:12 +00:00
parent 79cb74f03a
commit c914e6ea5d
5 changed files with 23 additions and 9 deletions

View File

@@ -2374,7 +2374,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
}
co = co->next; /* next cookie please */
}
Curl_cookie_freelist(store); /* free the cookie list */
Curl_cookie_freelist(store, FALSE); /* free the cookie list */
}
if(addcookies && (CURLE_OK == result)) {
if(!count)