From 0cc46d6285be58cda51524ddecbed5e71c75a4ba Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 5 Sep 2010 22:19:11 +0200 Subject: [PATCH] Don't leak the filename in katze_load_cached_icon --- katze/katze-utils.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5