[mutter] theme: Plug GtkIconInfo leak
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] theme: Plug GtkIconInfo leak
- Date: Mon, 6 Jan 2020 20:05:19 +0000 (UTC)
commit c13ea4f48ddbb8dfe67acca8af2e07987040a616
Author: Sebastian Keller <skeller src gnome org>
Date: Sun Jan 5 02:18:26 2020 +0100
theme: Plug GtkIconInfo leak
https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
src/ui/theme.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]