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
Родитель 58f4af7973
Коммит 67abd4cd47
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -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);
} }