[Commits] [SCM] claws branch, master, updated. 3.17.3-202-g0b70008

mones at claws-mail.org mones at claws-mail.org
Fri Jul 26 12:52:02 CEST 2019


The branch, master has been updated
       via  0b70008c9b210ba0ec51d587582ffcc2a58d1784 (commit)
      from  444c31cdf6358247dc981eea7effc60cd7558ac2 (commit)

Summary of changes:
 src/plugins/litehtml_viewer/lh_viewer.c |    1 +
 1 file changed, 1 insertion(+)


- Log -----------------------------------------------------------------
commit 0b70008c9b210ba0ec51d587582ffcc2a58d1784
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Jul 26 12:51:13 2019 +0200

    Fix leak on error variable

diff --git a/src/plugins/litehtml_viewer/lh_viewer.c b/src/plugins/litehtml_viewer/lh_viewer.c
index bf6435b..2d2fc50 100644
--- a/src/plugins/litehtml_viewer/lh_viewer.c
+++ b/src/plugins/litehtml_viewer/lh_viewer.c
@@ -103,6 +103,7 @@ static void lh_show_mimepart(MimeViewer *_viewer, const gchar *infile,
 		if (error) {
 			g_warning("LH: failed mimepart conversion to UTF-8: %s", error->message);
 			g_free(string);
+			g_error_free(error);
 			return;
 		}
 		debug_print("LH: successfully converted %" G_GSIZE_FORMAT " bytes\n", length);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list