st-texture-cache: fix GtkIconInfo leak

https://bugzilla.gnome.org/show_bug.cgi?id=678079
This commit is contained in:
Pavel Vasin 2012-06-14 12:21:25 +04:00 committed by Jasper St. Pierre
parent 201dc05416
commit 7524210d1f

View File

@ -933,6 +933,7 @@ load_gicon_with_colors (StTextureCache *cache,
if (ensure_request (cache, key, policy, &request, texture))
{
/* If there's an outstanding request, we've just added ourselves to it */
gtk_icon_info_free (info);
g_free (key);
}
else