mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
version attribute set.
This commit is contained in:
parent
58f4af7973
commit
67abd4cd47
3
CHANGES
3
CHANGES
@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
|
|
||||||
Daniel (22 December 2004)
|
Daniel (22 December 2004)
|
||||||
|
- Rune Kleveland fixed a minor memory leak for received cookies with the
|
||||||
|
(rare) version attribute set.
|
||||||
|
|
||||||
- Marcin Konicki provided two configure fixes and a source fix to make curl
|
- Marcin Konicki provided two configure fixes and a source fix to make curl
|
||||||
build out-of-the-box on BeOS.
|
build out-of-the-box on BeOS.
|
||||||
|
|
||||||
|
@ -113,6 +113,8 @@ static void freecookie(struct Cookie *co)
|
|||||||
free(co->value);
|
free(co->value);
|
||||||
if(co->maxage)
|
if(co->maxage)
|
||||||
free(co->maxage);
|
free(co->maxage);
|
||||||
|
if(co->version)
|
||||||
|
free(co->version);
|
||||||
|
|
||||||
free(co);
|
free(co);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user