[Commits] [SCM] claws branch, master, updated. 3.10.1-101-g07b568e

mones at claws-mail.org mones at claws-mail.org
Tue Jun 24 19:42:32 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  07b568e24aeb319f2a36cf7bc4b934827a4d274b (commit)
      from  ff9dc7bb115755662cb7b1c4175c032f35f73988 (commit)

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


- Log -----------------------------------------------------------------
commit 07b568e24aeb319f2a36cf7bc4b934827a4d274b
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Jun 24 19:41:51 2014 +0200

    Fix memory leak in libravatar
    
    Thanks Christian Hesse for the patch!

diff --git a/src/plugins/libravatar/libravatar.c b/src/plugins/libravatar/libravatar.c
index 7870bc9..4f14006 100644
--- a/src/plugins/libravatar/libravatar.c
+++ b/src/plugins/libravatar/libravatar.c
@@ -70,6 +70,7 @@ static gboolean libravatar_header_update_hook(gpointer source, gpointer data)
 
 		debug_print("libravatar added '%s'\n", a);
 		procmsg_msginfo_add_avatar(acd->msginfo, AVATAR_LIBRAVATAR, a);
+		g_free(a);
 	}
 
 	return FALSE; /* keep getting */

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list