mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:53:31 +03:00
Rune Kleveland fixed a minor memory leak for received cookies with the (rare)
version attribute set.
This commit is contained in:
parent
58f4af7973
commit
67abd4cd47
2 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue