global: Fix a small memory leak

This commit is contained in:
Florian Müllner 2016-09-21 23:24:28 +02:00
parent aedd616346
commit 3cd8dd0f32

View File

@ -277,6 +277,7 @@ shell_global_init (ShellGlobal *global)
XDisplayName (NULL)); XDisplayName (NULL));
(void) g_mkdir_with_parents (path, 0700); (void) g_mkdir_with_parents (path, 0700);
global->runtime_state_path = g_file_new_for_path (path); global->runtime_state_path = g_file_new_for_path (path);
g_free (path);
global->settings = g_settings_new ("org.gnome.shell"); global->settings = g_settings_new ("org.gnome.shell");