changeset 9895:1dfebce5eac9

[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 <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 28 Aug 2004 02:19:21 +0000
parents c774d62c0518
children a806e5150eca
files src/protocols/msn/msn.c src/protocols/msn/userlist.c
diffstat 2 files changed, 2 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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);
 }