Mon, 03 Dec 2007 22:35:26 +0000
Fix a crash that occurs when creating the "Move To" menu for buddies that aren't on your list. Fixes #4217.
| pidgin/gtkblist.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkblist.c Mon Dec 03 21:26:54 2007 +0000 +++ b/pidgin/gtkblist.c Mon Dec 03 22:35:26 2007 +0000 @@ -1398,7 +1398,7 @@ pidgin_append_blist_node_proto_menu(menu, buddy->account->gc, node); pidgin_append_blist_node_extended_menu(menu, node); - if (!contact_expanded) + if (!contact_expanded && contact != NULL) pidgin_append_blist_node_move_to_menu(menu, (PurpleBlistNode *)contact); if (node->parent && node->parent->child->next &&