[gnome-shell] global: Fix a small memory leak
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] global: Fix a small memory leak
- Date: Wed, 21 Sep 2016 21:39:02 +0000 (UTC)
commit 3cd8dd0f3295f2b66deceb1b98d446606b96ce05
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 21 23:24:28 2016 +0200
global: Fix a small memory leak
src/shell-global.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index 480b2fe..6dda352 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]