mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
window: Fix a small memory leak
This commit is contained in:
parent
06c357d781
commit
63e2c0329f
@ -5268,7 +5268,7 @@ static cairo_surface_t *
|
|||||||
load_default_window_icon (int size)
|
load_default_window_icon (int size)
|
||||||
{
|
{
|
||||||
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
GtkIconTheme *theme = gtk_icon_theme_get_default ();
|
||||||
GdkPixbuf *pixbuf;
|
g_autoptr (GdkPixbuf) pixbuf = NULL;
|
||||||
const char *icon_name;
|
const char *icon_name;
|
||||||
|
|
||||||
if (gtk_icon_theme_has_icon (theme, META_DEFAULT_ICON_NAME))
|
if (gtk_icon_theme_has_icon (theme, META_DEFAULT_ICON_NAME))
|
||||||
|
Loading…
Reference in New Issue
Block a user