gnome-shell/gnome-shell-fix-small-memory-leak.patch

25 lines
720 B
Diff

From 3cd8dd0f3295f2b66deceb1b98d446606b96ce05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
Date: Wed, 21 Sep 2016 23:24:28 +0200
Subject: 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 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");
--
cgit v0.12