[Commits] [SCM] claws branch, master, updated. 3.17.0-83-g53b770e

Colin colin at claws-mail.org
Sat Oct 6 12:43:44 CEST 2018


The branch, master has been updated
       via  53b770e396312512a2c0553fb7484aa8e106d2f5 (commit)
      from  b20a6fa6d4a20ecc94bb6ad417a2b7ab08f98ed1 (commit)

Summary of changes:
 src/procmime.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 53b770e396312512a2c0553fb7484aa8e106d2f5
Author: Colin Leroy <colin at colino.net>
Date:   Sat Oct 6 12:43:31 2018 +0200

    Fix big leak on mimeinfo freeing

diff --git a/src/procmime.c b/src/procmime.c
index f53e530..da81590 100644
--- a/src/procmime.c
+++ b/src/procmime.c
@@ -138,6 +138,8 @@ static gboolean free_func(GNode *node, gpointer data)
 	if (mimeinfo->privacy)
 		privacy_free_privacydata(mimeinfo->privacy);
 
+	g_free(mimeinfo);
+
 	return FALSE;
 }
 
@@ -154,7 +156,6 @@ void procmime_mimeinfo_free_all(MimeInfo **mimeinfo_ptr)
 
 	g_node_destroy(node);
 
-	g_free(mimeinfo);
 	*mimeinfo_ptr = NULL;
 }
 

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list