if killing the root node, set it to NULL in the priv data. Bug #39441.
2003-03-31 Mike Kestner <mkestner@ximian.com> * e-tree-table-adapter.c (kill_gnode): if killing the root node, set it to NULL in the priv data. Bug #39441. svn path=/trunk/; revision=20607
This commit is contained in:
committed by
Mike Kestner
parent
9e89da7be5
commit
fb5893bb04
@ -236,6 +236,8 @@ kill_gnode(GNode *node, ETreeTableAdapter *etta)
|
||||
}
|
||||
|
||||
g_free(node->data);
|
||||
if (node == etta->priv->root)
|
||||
etta->priv->root = NULL;
|
||||
g_node_destroy(node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user