From 3cd8dd0f3295f2b66deceb1b98d446606b96ce05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 21 Sep 2016 23:24:28 +0200 Subject: [PATCH] global: Fix a small memory leak --- src/shell-global.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/shell-global.c b/src/shell-global.c index 480b2fe4d..6dda3526a 100644 --- a/src/shell-global.c +++ b/src/shell-global.c @@ -277,6 +277,7 @@ shell_global_init (ShellGlobal *global) XDisplayName (NULL)); (void) g_mkdir_with_parents (path, 0700); global->runtime_state_path = g_file_new_for_path (path); + g_free (path); global->settings = g_settings_new ("org.gnome.shell");