Plug memory leak

This commit is contained in:
Benjamin Goose 2014-04-25 13:20:05 +02:00 committed by Darshit Shah
parent 6d4158122c
commit 351e438e51
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-05-01 Benjamin Goose <gans+wget@tngtech.com>
* http.c: Fix small memory leak
2014-05-01 Darshit Shah <darnir@gmail.com> (tiny change)
* progress.c (dot_finish): Do not print extra newlines when not in verbose

View File

@ -2596,6 +2596,7 @@ read_header:
tmp = parse_charset (tmp2);
if (tmp)
set_content_encoding (iri, tmp);
xfree_null(tmp);
}
}
}