Skip to content
Snippets Groups Projects
Commit f40c9b83 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

libcurl leaked memory for cookies with the "max-age" field set.

parent b9e082b8
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,11 @@
Changelog
Gisle (16 October 2004)
Daniel (16 October 2004)
- runekl at opoint.com found out (and provided a fix) that libcurl leaked
memory for cookies with the "max-age" field set.
Gisle (16 October 2004)
- Issue 50 in TODO-RELEASE; Added Traian Nicolescu's patches for threaded
resolver on Windows. Plugged some potential handle and memory leaks.
......
......@@ -111,6 +111,8 @@ static void freecookie(struct Cookie *co)
free(co->name);
if(co->value)
free(co->value);
if(co->maxage)
free(co->maxage);
free(co);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment