theme: Plug GtkIconInfo leak

https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
This commit is contained in:
Sebastian Keller 2020-01-05 02:18:26 +01:00 committed by Georges Basile Stavracas Neto
parent 1e7285b2bb
commit c13ea4f48d

View File

@ -861,7 +861,7 @@ meta_frame_layout_draw_with_style (MetaFrameLayout *layout,
if (icon_name)
{
GtkIconTheme *theme = gtk_icon_theme_get_default ();
GtkIconInfo *info;
g_autoptr (GtkIconInfo) info = NULL;
GdkPixbuf *pixbuf;
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,