Package init

This commit is contained in:
dogsheng 2019-12-25 15:46:38 +08:00
parent 3799b1ca53
commit 67fee7e3b6
2 changed files with 40 additions and 1 deletions

View File

@ -0,0 +1,32 @@
From 0f131857babb41eb443a8f7ae843e5990978a719 Mon Sep 17 00:00:00 2001
From: Philip Withnall <withnall@endlessm.com>
Date: Mon, 29 Jul 2019 10:49:45 +0100
Subject: [PATCH 458/493] gapplication: Fix a leaking GRemoteActionGroup member
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix prompted by Ting-Wei Lans similar fix for the inactivity timeout
(!1009).
Signed-off-by: Philip Withnall <withnall@endlessm.com>
---
gio/gapplication.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gio/gapplication.c b/gio/gapplication.c
index 8ad4d0f..ad5826d 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -1395,6 +1395,8 @@ g_application_finalize (GObject *object)
if (application->priv->actions)
g_object_unref (application->priv->actions);
+ g_clear_object (&application->priv->remote_actions);
+
if (application->priv->notifications)
g_object_unref (application->priv->notifications);
--
1.8.3.1

View File

@ -1,6 +1,6 @@
Name: glib2
Version: 2.58.1
Release: 4
Release: 5
Summary: The core library that forms the basis for projects such as GTK+ and GNOME
License: LGPLv2+
URL: http://www.gtk.org
@ -52,6 +52,7 @@ Patch6042: gbase64-Allow-g_base64_encode-NULL-0-and-g_base64_de.patch
Patch6043: gbase64-Fix-an-impossible-condition.patch
Patch6044: CVE-2019-12450.patch
Patch6045: CVE-2019-13012.patch
Patch6046: 0458-gapplication-Fix-a-leaking-GRemoteActionGroup-member.patch
BuildRequires: automake chrpath autoconf gtk-doc libtool gettext perl-interpreter gamin-devel
BUildRequires: glibc-devel python3-devel libattr-devel libselinux-devel systemtap-sdt-devel libxslt
@ -172,6 +173,12 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%doc %{_datadir}/gtk-doc/html/*
%changelog
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.58.1-5
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:Fix a leaking GRemoteActionGroup member
* Sat Nov 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.58.1-4
- Type:bugfix
- Id:NA