1
0
Fork 0

theme: Plug GdkPixbuf leak

https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
This commit is contained in:
Sebastian Keller 2020-01-06 20:48:01 +01:00 committed by Georges Basile Stavracas Neto
parent c13ea4f48d
commit 468b09c01e

View file

@ -862,7 +862,7 @@ meta_frame_layout_draw_with_style (MetaFrameLayout *layout,
{
GtkIconTheme *theme = gtk_icon_theme_get_default ();
g_autoptr (GtkIconInfo) info = NULL;
GdkPixbuf *pixbuf;
g_autoptr (GdkPixbuf) pixbuf = NULL;
info = gtk_icon_theme_lookup_icon_for_scale (theme, icon_name,
layout->icon_size, scale, 0);