mirror of
https://github.com/brl/mutter.git
synced 2025-02-27 02:04:09 +00:00
window: Fix a small memory leak
(cherry picked from commit 63e2c0329f12401ef3c93201b53c463142e7a9ca)
This commit is contained in:
parent
31779404f0
commit
2da2489da5
@ -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…
x
Reference in New Issue
Block a user