[Commits] [SCM] claws branch, master, updated. 3.15.0-100-g6fafdc6

ticho at claws-mail.org ticho at claws-mail.org
Wed Jul 12 10:57:06 CEST 2017


The branch, master has been updated
       via  6fafdc6dc6c7d084f2581c6c2575d25fa51a7926 (commit)
      from  c0159751c31bf83511c1600f759e26648fbec670 (commit)

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


- Log -----------------------------------------------------------------
commit 6fafdc6dc6c7d084f2581c6c2575d25fa51a7926
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Jul 12 10:56:36 2017 +0200

    Fixed a memory leak in prefs_account_generate_msgid().

diff --git a/src/prefs_account.c b/src/prefs_account.c
index aa4d217..3ea0228 100644
--- a/src/prefs_account.c
+++ b/src/prefs_account.c
@@ -5026,6 +5026,7 @@ gchar *prefs_account_generate_msgid(PrefsAccount *account)
 	tmbuf = g_date_time_format(now, "%Y%m%d%H%M%S");
 	buf = g_strdup_printf("%s.%08x%s",
 			tmbuf, (guint)rand(), addr);
+	g_date_time_unref(now);
 	g_free(tmbuf);
 	g_free(addr);
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list