diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/ephy-favicon-cache.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +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. + 2003-05-31 Lee Willis <lwillis@plus.net> * 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); |