[Commits] [SCM] claws branch, master, updated. 3.17.3-158-gad05509
ticho at claws-mail.org
ticho at claws-mail.org
Thu Apr 25 01:05:16 CEST 2019
The branch, master has been updated
via ad0550981b5cc3ec9105cdc847cb659eed759e34 (commit)
from 6023fa27735149267d4951b318720227deb231cb (commit)
Summary of changes:
src/mimeview.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit ad0550981b5cc3ec9105cdc847cb659eed759e34
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Thu Apr 25 01:04:59 2019 +0200
Fix a memory leak in icon_list_append_icon()
diff --git a/src/mimeview.c b/src/mimeview.c
index b697d52..7e28330 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -2624,8 +2624,12 @@ static void icon_list_append_icon (MimeView *mimeview, MimeInfo *mimeinfo)
g_free(escaped);
}
if (sigshort && *sigshort) {
- tiptmp = g_strjoin("\n", tip, g_markup_escape_text(sigshort, -1), NULL);
+ gchar *sigshort_escaped =
+ g_markup_escape_text(sigshort, -1);
+
+ tiptmp = g_strjoin("\n", tip, sigshort_escaped, NULL);
g_free(tip);
+ g_free(sigshort_escaped);
tip = tiptmp;
}
g_free(sigshort);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list