aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-01-26 04:04:28 +0800
committerChristian Persch <chpe@src.gnome.org>2004-01-26 04:04:28 +0800
commit97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4 (patch)
tree63ad18a77035650998736b4b423ffe83d3880ad3 /lib/widgets
parent6e95a5fe46c4be44b37889a273624f87d6fe367e (diff)
downloadgsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar.gz
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar.bz2
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar.lz
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar.xz
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.tar.zst
gsoc2013-epiphany-97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4.zip
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.
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/ephy-node-view.c5
1 files changed, 5 insertions, 0 deletions
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);
}