From 1188fdc89e49de63f24235dfdfb534dc6197b02b Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 31 May 2003 17:10:44 +0000 Subject: Do not unref the db before cleaning the nodes. 2003-05-31 Marco Pesenti Gritti * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): Do not unref the db before cleaning the nodes. --- ChangeLog | 6 ++++++ embed/ephy-favicon-cache.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75df371bf..1e5ce7531 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-05-31 Marco Pesenti Gritti + + * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): + + Do not unref the db before cleaning the nodes. + 2003-05-31 Lee Willis * lib/widgets/ephy-spinner.c: diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 275348607..2a1d5c2c5 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -351,8 +351,6 @@ ephy_favicon_cache_finalize (GObject *object) g_return_if_fail (cache->priv != NULL); - g_object_unref (cache->priv->db); - cleanup_downloads_hash (cache); remove_obsolete_icons (cache); ephy_favicon_cache_save (cache); @@ -363,6 +361,8 @@ ephy_favicon_cache_finalize (GObject *object) g_static_rw_lock_free (cache->priv->icons_hash_lock); g_hash_table_destroy (cache->priv->downloads_hash); + g_object_unref (cache->priv->db); + g_free (cache->priv); G_OBJECT_CLASS (parent_class)->finalize (object); -- cgit v1.2.3