[Commits] [SCM] claws branch, master, updated. 4.2.0-114-g35b475054
mones at claws-mail.org
mones at claws-mail.org
Sun Jun 9 09:54:02 UTC 2024
The branch, master has been updated
via 35b475054e4ee9b287d2bdde01d4c508df42b7ce (commit)
from f21505305f6054677f80c18c7bd813623b947b29 (commit)
Summary of changes:
src/plugins/litehtml_viewer/lh_viewer.c | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit 35b475054e4ee9b287d2bdde01d4c508df42b7ce
Author: Ricardo Mones <ricardo at mones.org>
Date: Sun Jun 9 11:53:05 2024 +0200
Fix CID 1498807: Resource leak
diff --git a/src/plugins/litehtml_viewer/lh_viewer.c b/src/plugins/litehtml_viewer/lh_viewer.c
index b6109fd47..e277272e5 100644
--- a/src/plugins/litehtml_viewer/lh_viewer.c
+++ b/src/plugins/litehtml_viewer/lh_viewer.c
@@ -65,6 +65,7 @@ static void lh_show_mimepart(MimeViewer *_viewer, const gchar *infile,
utf8 = g_convert(string, -1, "utf-8", charset, NULL, &length, &error);
if (error) {
g_warning("LH: failed mimepart conversion to UTF-8: %s", error->message);
+ g_free(utf8);
g_free(string);
g_error_free(error);
return;
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list