[Commits] [SCM] claws branch, gtk2, updated. 3.20.0-98-gbc5a4bc9c
mones at claws-mail.org
mones at claws-mail.org
Sun Jun 9 09:54:02 UTC 2024
The branch, gtk2 has been updated
via bc5a4bc9ca6f1b5e4acf5bfda3354506b2d10c2b (commit)
from 2290daff1cb520ffe6d867bc45aa00dd8450530b (commit)
Summary of changes:
src/plugins/litehtml_viewer/lh_viewer.c | 1 +
1 file changed, 1 insertion(+)
- Log -----------------------------------------------------------------
commit bc5a4bc9ca6f1b5e4acf5bfda3354506b2d10c2b
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 5951fc0d4..5f5992cb6 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