mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
libcurl leaked memory for cookies with the "max-age" field set.
This commit is contained in:
parent
b9e082b811
commit
f40c9b83df
5
CHANGES
5
CHANGES
@ -6,8 +6,11 @@
|
|||||||
|
|
||||||
Changelog
|
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
|
- Issue 50 in TODO-RELEASE; Added Traian Nicolescu's patches for threaded
|
||||||
resolver on Windows. Plugged some potential handle and memory leaks.
|
resolver on Windows. Plugged some potential handle and memory leaks.
|
||||||
|
|
||||||
|
@ -111,6 +111,8 @@ static void freecookie(struct Cookie *co)
|
|||||||
free(co->name);
|
free(co->name);
|
||||||
if(co->value)
|
if(co->value)
|
||||||
free(co->value);
|
free(co->value);
|
||||||
|
if(co->maxage)
|
||||||
|
free(co->maxage);
|
||||||
|
|
||||||
free(co);
|
free(co);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user