From: Christian Dywan Date: Sun, 5 Sep 2010 20:19:11 +0000 (+0200) Subject: Don't leak the filename in katze_load_cached_icon X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cc46d6285be58cda51524ddecbed5e71c75a4ba;p=midori Don't leak the filename in katze_load_cached_icon --- diff --git a/katze/katze-utils.c b/katze/katze-utils.c index 8e98ef43..b43869d6 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -1526,6 +1526,7 @@ katze_load_cached_icon (const gchar* uri, g_free (checksum); path = g_build_filename (g_get_user_cache_dir (), PACKAGE_NAME, "icons", filename, NULL); + g_free (filename); if ((icon = gdk_pixbuf_new_from_file_at_size (path, 16, 16, NULL))) { g_free (path);