diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | lib/cookie.c | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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. diff --git a/lib/cookie.c b/lib/cookie.c index ba4d295ab..f6cfc29cf 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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); } |