aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-favicon-cache.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-01 01:10:44 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-01 01:10:44 +0800
commit1188fdc89e49de63f24235dfdfb534dc6197b02b (patch)
treed85063f58e882ee8672a2eb2ed4f468377e1a4b6 /embed/ephy-favicon-cache.c
parentdceaf45eba6df9ead25cfc8eebe49b8ae8790a6f (diff)
downloadgsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar.gz
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar.bz2
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar.lz
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar.xz
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.tar.zst
gsoc2013-epiphany-1188fdc89e49de63f24235dfdfb534dc6197b02b.zip
Do not unref the db before cleaning the nodes.
2003-05-31 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): Do not unref the db before cleaning the nodes.
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r--embed/ephy-favicon-cache.c4
1 files changed, 2 insertions, 2 deletions
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);