From 964f4646da4d4d60f00d8efb4fc06426541c87c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Wed, 17 Aug 2016 23:12:25 +0200 Subject: [PATCH] * src/html-url.c (get_urls_html): Fix memory leak --- src/html-url.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/html-url.c b/src/html-url.c index abc916bb..934a1524 100644 --- a/src/html-url.c +++ b/src/html-url.c @@ -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)