/pidgin/main: f029e154012d: Fix a crash when a MSN user is remov...

Mark Barfield msb333 at aol.com
Tue Jul 24 04:03:43 EDT 2012


Changeset: f029e154012d81eb125e7e1cd8fbd6393b91efd2
Author:	 Mark Barfield <msb333 at aol.com>
Date:	 2012-07-22 02:03 -0400
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/f029e154012d

Description:

Fix a crash when a MSN user is removed before its icon is loaded.

Fixes #15217.

Committer: Elliott Sales de Andrade <qulogic at pidgin.im>

diffstat:

 libpurple/protocols/msn/userlist.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff --git a/libpurple/protocols/msn/userlist.c b/libpurple/protocols/msn/userlist.c
--- a/libpurple/protocols/msn/userlist.c
+++ b/libpurple/protocols/msn/userlist.c
@@ -263,6 +263,7 @@
 msn_userlist_remove_user(MsnUserList *userlist, MsnUser *user)
 {
 	userlist->users = g_list_remove(userlist->users, user);
+	g_queue_remove(userlist->buddy_icon_requests, user);
 	msn_user_unref(user);
 }
 



More information about the Commits mailing list