Rune Kleveland fixed a minor memory leak for received cookies with the (rare)

version attribute set.
This commit is contained in:
Daniel Stenberg 2004-12-22 22:33:31 +00:00
parent 58f4af7973
commit 67abd4cd47
2 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,9 @@
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
build out-of-the-box on BeOS.

View File

@ -113,6 +113,8 @@ static void freecookie(struct Cookie *co)
free(co->value);
if(co->maxage)
free(co->maxage);
if(co->version)
free(co->version);
free(co);
}