console/gntblist.c

changeset 14005
198d1658b390
parent 13993
8c12e7d15b40
child 14014
223d99ce2f06
--- a/console/gntblist.c	Mon Jul 10 18:08:11 2006 +0000
+++ b/console/gntblist.c	Mon Jul 10 23:55:24 2006 +0000
@@ -234,6 +234,9 @@
 	GntTree *tree = GNT_TREE(ggblist->tree);
 	GaimBlistNode *node = gnt_tree_get_selection_data(tree);
 
+	if (!node)
+		return;
+
 	if (GAIM_BLIST_NODE_IS_BUDDY(node))
 	{
 		GaimBuddy *buddy = (GaimBuddy *)node;

mercurial