soc.2009.telepathy: 16753861: Fixed memory leak when creating text cha...

sttwister at gmail.com sttwister at gmail.com
Sat Sep 12 08:11:26 EDT 2009


-----------------------------------------------------------------
Revision: 16753861b141b975015cbf1c5dbb92ee1cd568d2
Ancestor: 9816301162e7c197850273a2a0713cca17bd60b7
Author: sttwister at gmail.com
Date: 2009-09-08T14:42:04
Branch: im.pidgin.soc.2009.telepathy
URL: http://d.pidgin.im/viewmtn/revision/info/16753861b141b975015cbf1c5dbb92ee1cd568d2

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

ChangeLog: 

Fixed memory leak when creating text channel

-------------- next part --------------
============================================================
--- libpurple/protocols/telepathy/telepathy.c	32c3a4b67cecb852af77663a9afadce4d5d69f13
+++ libpurple/protocols/telepathy/telepathy.c	224cd9774dfc17acd83324998ddd25b81d5f3c17
@@ -302,6 +302,8 @@ telepathy_send_im (PurpleConnection *gc,
 		tp_cli_channel_dispatcher_call_create_channel(channel_Dispatcher, -1,
 			tp_account->obj_Path, map, time(NULL), "",
 			create_channel_cb, data, NULL, NULL); 
+
+		g_hash_table_destroy(map);
 	}
 
 	purple_debug_info("telepathy", "Sending \"%s\" (stripped: \"%s\") to %s\n", message, stripped_message, who);


More information about the Commits mailing list