mirror of
https://github.com/mirror/wget.git
synced 2025-03-13 11:20:19 +08:00
* src/html-url.c (get_urls_html): Fix memory leak
This commit is contained in:
parent
262baeb113
commit
964f4646da
@ -842,6 +842,7 @@ get_urls_html (const char *file, const char *url, bool *meta_disallow_follow,
|
||||
if (iri && !iri->content_encoding && meta_charset)
|
||||
set_content_encoding (iri, meta_charset);
|
||||
#endif
|
||||
xfree (meta_charset);
|
||||
|
||||
DEBUGP (("no-follow in %s: %d\n", file, ctx.nofollow));
|
||||
if (meta_disallow_follow)
|
||||
|
Loading…
Reference in New Issue
Block a user