Accepting request 602712 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/602712 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-desktop?expand=0&rev=144
This commit is contained in:
commit
fc524fa9e4
38
gnome-desktop-plug-memory-leak.patch
Normal file
38
gnome-desktop-plug-memory-leak.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From 436ca8f0797cbd1321893cdb8f6f1ee9cddfe42b Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
||||||
|
Date: Mon, 26 Feb 2018 19:39:06 +0100
|
||||||
|
Subject: bg-slide-show: Plug a memory leak
|
||||||
|
|
||||||
|
https://bugzilla.gnome.org/show_bug.cgi?id=793854
|
||||||
|
---
|
||||||
|
libgnome-desktop/gnome-bg-slide-show.c | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libgnome-desktop/gnome-bg-slide-show.c b/libgnome-desktop/gnome-bg-slide-show.c
|
||||||
|
index cb9b90b..c4674ba 100644
|
||||||
|
--- a/libgnome-desktop/gnome-bg-slide-show.c
|
||||||
|
+++ b/libgnome-desktop/gnome-bg-slide-show.c
|
||||||
|
@@ -741,17 +741,20 @@ on_file_loaded (GFile *file,
|
||||||
|
|
||||||
|
if (!loaded) {
|
||||||
|
g_task_return_error (task, error);
|
||||||
|
+ g_object_unref (task);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!parse_file_contents (g_task_get_source_object (task), contents, length, &error)) {
|
||||||
|
g_task_return_error (task, error);
|
||||||
|
+ g_object_unref (task);
|
||||||
|
g_free (contents);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
g_free (contents);
|
||||||
|
|
||||||
|
g_task_return_boolean (task, TRUE);
|
||||||
|
+ g_object_unref (task);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
--
|
||||||
|
cgit v0.12
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 30 07:02:29 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
- Add gnome-desktop-plug-memory-leak.patch: bg-slide-show: Plug a
|
||||||
|
memory leak (bgo#793878).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 11 08:18:21 UTC 2018 - bjorn.lie@gmail.com
|
Wed Apr 11 08:18:21 UTC 2018 - bjorn.lie@gmail.com
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@ Source: http://download.gnome.org/sources/gnome-desktop/3.28/%{name}-%{v
|
|||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
# PATFH-FIX-OPENSUSE gnome-desktop-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
|
# PATFH-FIX-OPENSUSE gnome-desktop-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
|
||||||
Patch1: gnome-desktop-switch-Japanese-default-input-to-mozc.patch
|
Patch1: gnome-desktop-switch-Japanese-default-input-to-mozc.patch
|
||||||
|
# PATCH-FIX-UPSTREAM gnome-desktop-plug-memory-leak.patch bgo#793878 -- bg-slide-show: Plug a memory leak
|
||||||
|
Patch2: gnome-desktop-plug-memory-leak.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
@ -127,6 +129,7 @@ reasons.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
%patch2 -p1
|
||||||
translation-update-upstream
|
translation-update-upstream
|
||||||
|
|
||||||
%if 0%{?BUILD_FROM_VCS}
|
%if 0%{?BUILD_FROM_VCS}
|
||||||
|
Loading…
Reference in New Issue
Block a user