# HG changeset patch # User reimar # Date 1352550036 0 # Node ID 3ae6e6d9186f20680c393286342c9e102b1e287b # Parent 4297ab9257996a124cf229be23a5b8a2899dcc3c http_set_field only makes a copy of the string, so we still need to free it. diff -r 4297ab925799 -r 3ae6e6d9186f stream/cookies.c --- a/stream/cookies.c Sat Nov 10 12:18:01 2012 +0000 +++ b/stream/cookies.c Sat Nov 10 12:20:36 2012 +0000 @@ -296,6 +296,5 @@ if (found_cookies) http_set_field(http_hdr, buf); - else - free(buf); + free(buf); }