soc.2009.telepathy: c201d52f: Free the buddy icon array in telepathy_s...

sttwister at gmail.com sttwister at gmail.com
Tue Sep 8 09:25:43 EDT 2009


-----------------------------------------------------------------
Revision: c201d52fdd91712a40536ec93118b5ec21371500
Ancestor: be43110f0ed485fe372f619c128512915322e242
Author: sttwister at gmail.com
Date: 2009-09-08T13:20:20
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/c201d52fdd91712a40536ec93118b5ec21371500

Modified files:
        libpurple/protocols/telepathy/telepathy.c

ChangeLog: 

Free the buddy icon array in telepathy_set_buddy_icon(). Fixed mem leak.

-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy.c	6d905a3d90cfc5bda30ca055116e1d791db1f9e1
+++ libpurple/protocols/telepathy/telepathy.c	d990251f0de3f1e2020c465a31701026575bcf35
@@ -714,7 +714,7 @@ telepathy_set_buddy_icon (PurpleConnecti
 		/* set the avatar */
 		tp_cli_connection_interface_avatars_call_set_avatar(data->connection, -1, array, mime_type, set_avatar_cb, data, NULL, NULL);
 
-		g_array_free(array, FALSE);
+		g_array_free(array, TRUE);
 	}
 	else
 	{


More information about the Commits mailing list