Don't leak the filename in katze_load_cached_icon

This commit is contained in:
Christian Dywan 2010-09-05 22:19:11 +02:00
parent 879938393f
commit 0cc46d6285

View file

@ -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);