From 3a06b1ab142e10b2dc0735d721e44eaceefccd016f05798924fd52a24e7d7a54 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 26 Sep 2016 18:14:35 +0000 Subject: [PATCH] Accepting request 430297 from GNOME:Next Patched, no ill effects seen OBS-URL: https://build.opensuse.org/request/show/430297 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=277 --- gnome-shell-fix-small-memory-leak.patch | 24 ++++++++++++++++++++++++ gnome-shell.changes | 6 ++++++ gnome-shell.spec | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 gnome-shell-fix-small-memory-leak.patch diff --git a/gnome-shell-fix-small-memory-leak.patch b/gnome-shell-fix-small-memory-leak.patch new file mode 100644 index 0000000..e1cc9f0 --- /dev/null +++ b/gnome-shell-fix-small-memory-leak.patch @@ -0,0 +1,24 @@ +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: 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 + diff --git a/gnome-shell.changes b/gnome-shell.changes index 1ae6ecb..5bac13b 100644 --- a/gnome-shell.changes +++ b/gnome-shell.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 22 19:41:29 UTC 2016 - zaitor@opensuse.org + +- Add gnome-shell-fix-small-memory-leak.patch: Fix a small memory + leak. + ------------------------------------------------------------------- Mon Sep 19 22:59:37 UTC 2016 - zaitor@opensuse.org diff --git a/gnome-shell.spec b/gnome-shell.spec index e8feaba..d9af4ce 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -56,6 +56,8 @@ Patch10: gnome-shell-970480-authprompt-wrapping-message.patch Patch11: gs-fate318433-prevent-same-account-multi-logins.patch # PATCH-FEATURE-SLE gnome-shell-sle-theme.patch dliang@suse.com -- Use sle theme avatar Patch12: gnome-shell-sle-theme.patch +# PATCH-FIX-UPSTREAM gnome-shell-fix-small-memory-leak.patch zaitor@opensuse.org -- Fix a small memory leak, patch from upstream git. +Patch13: gnome-shell-fix-small-memory-leak.patch ## NOTE: Keep SLE Classic pathes at bottom. # PATCH-FEATURE-SLE gs-sle-classic-ext.patch bnc#862615 cxiong@suse.com -- add SLE Classic support Patch1000: gs-sle-classic-ext.patch @@ -208,6 +210,7 @@ into GNOME Shell calendar. translation-update-upstream %endif cp %{S:1} js/ui/ +%patch13 -p1 %build # Needed for patch2