diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-tree.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index 41818652bd..effd1e9aa6 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -472,6 +472,11 @@ et_dispose (GObject *object) priv->table_canvas = NULL; } + if (priv->item != NULL) { + g_object_unref (G_OBJECT (priv->item)); + priv->item = NULL; + } + /* Chain up to parent's dispose() method. */ G_OBJECT_CLASS (e_tree_parent_class)->dispose (object); } |