aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree-table-adapter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-tree-table-adapter.c b/widgets/table/e-tree-table-adapter.c
index d36ba15c99..99fa12b532 100644
--- a/widgets/table/e-tree-table-adapter.c
+++ b/widgets/table/e-tree-table-adapter.c
@@ -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);
}