diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | lib/widgets/ephy-arrow-toolbutton.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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); } |