aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-02-05 06:23:34 +0800
committerChristian Persch <chpe@src.gnome.org>2004-02-05 06:23:34 +0800
commit0d384021eea98605ab92c8b8842a9c0c8e9240b3 (patch)
tree8b2c68716ceda1384daac343edc0bf8411bb96d4
parent35b0e5aa03825bf7f9419f40d07c24a5120a7156 (diff)
downloadgsoc2013-epiphany-0d384021eea98605ab92c8b8842a9c0c8e9240b3.tar.gz
gsoc2013-epiphany-0d384021eea98605ab92c8b8842a9c0c8e9240b3.tar.zst
gsoc2013-epiphany-0d384021eea98605ab92c8b8842a9c0c8e9240b3.zip
Fix mem leak.
2004-02-04 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_finalize): Fix mem leak.
-rw-r--r--ChangeLog7
-rw-r--r--lib/widgets/ephy-arrow-toolbutton.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index df615ec1a..6580b45a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2004-02-04 Christian Persch <chpe@cvs.gnome.org>
+ * lib/widgets/ephy-arrow-toolbutton.c:
+ (ephy_arrow_toolbutton_finalize):
+
+ Fix mem leak.
+
+2004-02-04 Christian Persch <chpe@cvs.gnome.org>
+
* data/glade/epiphany.glade:
* data/glade/certificate-dialogs.glade:
* data/glade/print.glade:
diff --git a/lib/widgets/ephy-arrow-toolbutton.c b/lib/widgets/ephy-arrow-toolbutton.c
index 0aa905efa..3273ce8f0 100644
--- a/lib/widgets/ephy-arrow-toolbutton.c
+++ b/lib/widgets/ephy-arrow-toolbutton.c
@@ -257,7 +257,7 @@ ephy_arrow_toolbutton_finalize (GObject *object)
{
EphyArrowToolButton *arrow_toolbutton = EPHY_ARROW_TOOLBUTTON (object);
- gtk_widget_destroy (GTK_WIDGET (arrow_toolbutton->priv->menu));
+ g_object_unref (arrow_toolbutton->priv->menu);
G_OBJECT_CLASS (parent_class)->finalize (object);
}