From 67fee7e3b6a09eed09a1c07fb09824649c8fd3d2 Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Wed, 25 Dec 2019 15:46:38 +0800 Subject: [PATCH] Package init --- ...-a-leaking-GRemoteActionGroup-member.patch | 32 +++++++++++++++++++ glib2.spec | 9 +++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 0458-gapplication-Fix-a-leaking-GRemoteActionGroup-member.patch diff --git a/0458-gapplication-Fix-a-leaking-GRemoteActionGroup-member.patch b/0458-gapplication-Fix-a-leaking-GRemoteActionGroup-member.patch new file mode 100644 index 0000000..68974df --- /dev/null +++ b/0458-gapplication-Fix-a-leaking-GRemoteActionGroup-member.patch @@ -0,0 +1,32 @@ +From 0f131857babb41eb443a8f7ae843e5990978a719 Mon Sep 17 00:00:00 2001 +From: Philip Withnall +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 Lan’s similar fix for the inactivity timeout +(!1009). + +Signed-off-by: Philip Withnall +--- + 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 + diff --git a/glib2.spec b/glib2.spec index 3c2c461..0b4b0d1 100644 --- a/glib2.spec +++ b/glib2.spec @@ -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 - 2.58.1-5 +- Type:bugfix +- Id:NA +- SUG:NA +- DESC:Fix a leaking GRemoteActionGroup member + * Sat Nov 23 2019 openEuler Buildteam - 2.58.1-4 - Type:bugfix - Id:NA