diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-favicon-cache.c | 4 |
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); |