aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/widgets/ephy-node-view.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 526534391..a36370804 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+ * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize):
+
+ Fix mem leak.
+
+2004-01-25 Christian Persch <chpe@cvs.gnome.org>
+
* lib/ephy-node-filter.c: (ephy_node_filter_finalize),
(ephy_node_filter_new), (ephy_node_filter_add_expression):
diff --git a/lib/widgets/ephy-node-view.c b/lib/widgets/ephy-node-view.c
index 435974b5e..6949bb404 100644
--- a/lib/widgets/ephy-node-view.c
+++ b/lib/widgets/ephy-node-view.c
@@ -218,6 +218,11 @@ ephy_node_view_finalize (GObject *object)
gtk_target_list_unref (view->priv->source_target_list);
}
+ if (view->priv->drag_targets)
+ {
+ gtk_target_list_unref (view->priv->drag_targets);
+ }
+
G_OBJECT_CLASS (parent_class)->finalize (object);
}