From 63e2c0329f12401ef3c93201b53c463142e7a9ca Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 21 Mar 2018 21:16:23 -0300 Subject: [PATCH] window: Fix a small memory leak --- src/core/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/window.c b/src/core/window.c index 565698da9..86f9d69b1 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -5268,7 +5268,7 @@ static cairo_surface_t * load_default_window_icon (int size) { GtkIconTheme *theme = gtk_icon_theme_get_default (); - GdkPixbuf *pixbuf; + g_autoptr (GdkPixbuf) pixbuf = NULL; const char *icon_name; if (gtk_icon_theme_has_icon (theme, META_DEFAULT_ICON_NAME))