talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 0b70008c9b210ba0ec51d587582ffcc2a58d1784
parent 444c31cdf6358247dc981eea7effc60cd7558ac2
Author: Ricardo Mones <ricardo@mones.org>
Date:   Fri, 26 Jul 2019 12:51:13 +0200

Fix leak on error variable

Diffstat:
Msrc/plugins/litehtml_viewer/lh_viewer.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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);