# HG changeset patch # User Luke Schierer # Date 1093659561 0 # Node ID 1dfebce5eac95613167c57342e4258eac154f160 # Parent c774d62c0518b5549252655da1539b7b316b59c9 [gaim-migrate @ 10784] (22:19:59) shx: LSchiere: I have a small patch to clean stuff and fix a mem leak in msn committer: Tailor Script diff -r c774d62c0518 -r 1dfebce5eac9 src/protocols/msn/msn.c --- a/src/protocols/msn/msn.c Sat Aug 28 00:58:56 2004 +0000 +++ b/src/protocols/msn/msn.c Sat Aug 28 02:19:21 2004 +0000 @@ -376,21 +376,6 @@ gaim_xfer_request(xfer); } -static void -update_buddy_icon_cb(GaimBlistNode *node, gpointer ignored) -{ -/* GaimBuddy *buddy; - * GaimConnection *gc; - * - * g_return_if_fail(GAIM_BLIST_NODE_IS_BUDDY(node)); - * - * buddy = (GaimBuddy *) node; - * gc = gaim_account_get_connection(buddy->account); - * - * msn_request_buddy_icon(gc, buddy->name); - */ -} - /************************************************************************** * Protocol Plugin ops **************************************************************************/ @@ -537,11 +522,6 @@ act = gaim_blist_node_action_new(_("Initiate Chat"), initiate_chat_cb, NULL); m = g_list_append(m, act); - - act = gaim_blist_node_action_new(_("Update Buddy Icon"), - update_buddy_icon_cb, NULL); - - m = g_list_append(m, act); } return m; diff -r c774d62c0518 -r 1dfebce5eac9 src/protocols/msn/userlist.c --- a/src/protocols/msn/userlist.c Sat Aug 28 00:58:56 2004 +0000 +++ b/src/protocols/msn/userlist.c Sat Aug 28 02:19:21 2004 +0000 @@ -425,6 +425,8 @@ } g_list_free(userlist->groups); + + g_queue_free(userlist->buddy_icon_requests); g_free(userlist); }