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

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