diff --git a/src/ui/theme.c b/src/ui/theme.c index 9b8ddff63..5f2b5fd8e 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -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,