diff options
Diffstat (limited to 'embed/ephy-favicon-cache.c')
-rw-r--r-- | embed/ephy-favicon-cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 3421e1ce5..df2815855 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -177,13 +177,15 @@ remove_obsolete_icons (EphyFaviconCache *eb) if (icon_is_obsolete (kid, ¤t_date)) { const char *filename; - const char *path; + char *path; filename = ephy_node_get_property_string (kid, EPHY_NODE_FAVICON_PROP_FILENAME); path = g_build_filename (eb->priv->directory, filename, NULL); gnome_vfs_unlink (path); + + g_free (path); ephy_node_unref (kid); } } |