# HG changeset patch # User Sadrul Habib Chowdhury # Date 1180741151 0 # Node ID 1b6db70bdab21cb7591ef40a84c3275c3732dc83 # Parent 8edcfcddbcc763a5fa3f6ed3457f271ae507444f Fix a crash exposed by nullprpl. diff -r 8edcfcddbcc7 -r 1b6db70bdab2 finch/gntblist.c --- a/finch/gntblist.c Fri Jun 01 03:35:45 2007 +0000 +++ b/finch/gntblist.c Fri Jun 01 23:39:11 2007 +0000 @@ -215,6 +215,9 @@ if (list->ui_data == NULL) return; /* XXX: this is probably the place to auto-join chats */ + if (ggblist->window == NULL) + return; + if (node->ui_data != NULL) { gnt_tree_change_text(GNT_TREE(ggblist->tree), node, 0, get_display_name(node));