diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-01-26 04:04:28 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-01-26 04:04:28 +0800 |
commit | 97da2f3f87346cb07b320e2c9a7b5e1f1a662cd4 (patch) | |
tree | 63ad18a77035650998736b4b423ffe83d3880ad3 /lib/widgets | |
parent | 6e95a5fe46c4be44b37889a273624f87d6fe367e (diff) | |
download | gsoc2013-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.c | 5 |
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); } |