aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-08 07:00:02 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-08 07:00:02 +0800
commit5e5d25f08036ef3f2ac9af3071a36def13f5b2c6 (patch)
treecc5ea3cd3eac3fc4357741ee9b1be47d6c3dc313
parent4f85ebbbe15e2243cd688bc57138b8940b7cb3af (diff)
downloadgsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar.gz
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar.bz2
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar.lz
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar.xz
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.tar.zst
gsoc2013-epiphany-5e5d25f08036ef3f2ac9af3071a36def13f5b2c6.zip
Fix mem leak.
2003-11-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favicon-actio.c: (ephy_favicon_action_finalize): Fix mem leak.
-rw-r--r--ChangeLog6
-rw-r--r--src/ephy-favicon-action.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e1dcbfc89..349e30499 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2003-11-07 Christian Persch <chpe@cvs.gnome.org>
+ * src/ephy-favicon-actio.c: (ephy_favicon_action_finalize):
+
+ Fix mem leak.
+
+2003-11-07 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-location-action.c: (ephy_location_action_finalize):
Chain up to parent's finalize method.
diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c
index 9285ceea4..0f2679bda 100644
--- a/src/ephy-favicon-action.c
+++ b/src/ephy-favicon-action.c
@@ -294,6 +294,8 @@ ephy_favicon_action_finalize (GObject *object)
{
EphyFaviconAction *action = EPHY_FAVICON_ACTION (object);
+ g_free (action->priv->icon);
+
g_object_unref (action->priv->cache);
G_OBJECT_CLASS (parent_class)->finalize (object);