global: Fix a small memory leak
This commit is contained in:
parent
aedd616346
commit
3cd8dd0f32
@ -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");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user