aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-tree-model-node.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a36370804..854244e83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+ * lib/widgets/ephy-tree-model-node.c:
+ (ephy_tree_model_node_finalize):
+
+ Fix mem leak.
+
+2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+
* lib/widgets/ephy-node-view.c: (ephy_node_view_finalize):
Fix mem leak.
diff --git a/lib/widgets/ephy-tree-model-node.c b/lib/widgets/ephy-tree-model-node.c
index 1af1dd869..872fa7702 100644
--- a/lib/widgets/ephy-tree-model-node.c
+++ b/lib/widgets/ephy-tree-model-node.c
@@ -336,6 +336,7 @@ ephy_tree_model_node_finalize (GObject *object)
{
EphyTreeModelNode *model = EPHY_TREE_MODEL_NODE (object);
+ g_ptr_array_foreach (model->priv->columns, (GFunc) g_free, NULL);
g_ptr_array_free (model->priv->columns, TRUE);
G_OBJECT_CLASS (parent_class)->finalize (object);