/pidgin/main: a2493c05146e: Fix a crash when a MSN user is remov...
Mark Barfield
msb333 at aol.com
Tue Jul 24 04:03:42 EDT 2012
Changeset: a2493c05146ea45899fa67353012a28c3e2c0525
Author: Mark Barfield <msb333 at aol.com>
Date: 2012-07-22 02:03 -0400
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/a2493c05146e
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