# HG changeset patch # User Daniel Atallah # Date 1196721326 0 # Node ID 9c2230fe2217495d8ca55aecd7191d7cb007a161 # Parent 7632edbf0d00dd04e790762c367999290c150c3a Fix a crash that occurs when creating the "Move To" menu for buddies that aren't on your list. Fixes #4217. diff -r 7632edbf0d00 -r 9c2230fe2217 pidgin/gtkblist.c --- 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 &&