Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
version attribute set.
This commit is contained in:
Родитель
58f4af7973
Коммит
67abd4cd47
3
CHANGES
3
CHANGES
|
@ -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.
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче