diff options
author | Sebastian Keller <skeller@src.gnome.org> | 2020-01-06 20:48:01 +0100 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2020-01-06 19:54:00 +0000 |
commit | 468b09c01efc3e461e6d1c0286922b25551a12fd (patch) | |
tree | b8efaa0c27be1e3f6bbdae7bfffd752147561add | |
parent | c13ea4f48ddbb8dfe67acca8af2e07987040a616 (diff) | |
download | mutter-468b09c01efc3e461e6d1c0286922b25551a12fd.tar.gz |
theme: Plug GdkPixbuf leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
-rw-r--r-- | src/ui/theme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/theme.c b/src/ui/theme.c index 5f2b5fd8e..095b0f420 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -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); |