mirror of
https://github.com/curl/curl.git
synced 2026-07-30 11:28:05 +03:00
libcurl leaked memory for cookies with the "max-age" field set.
This commit is contained in:
parent
b9e082b811
commit
f40c9b83df
2 changed files with 6 additions and 1 deletions
5
CHANGES
5
CHANGES
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue