Hello community,

here is the log from the commit of package polkit for openSUSE:Factory checked 
in at 2015-01-20 21:54:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/polkit (Old)
 and      /work/SRC/openSUSE:Factory/.polkit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "polkit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/polkit/polkit.changes    2015-01-03 
22:02:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.polkit.new/polkit.changes       2015-01-20 
21:54:16.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Jan 12 13:21:20 UTC 2015 - tchva...@suse.com
+
+- Try to fix kded leaking due to powerdevil exposing this issue in
+  polkit: (bsc#912889)
+  * polkit-no-kded-leak.patch
+
+-------------------------------------------------------------------

New:
----
  polkit-no-kded-leak.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ polkit.spec ++++++
--- /var/tmp/diff_new_pack.jlo2e9/_old  2015-01-20 21:54:17.000000000 +0100
+++ /var/tmp/diff_new_pack.jlo2e9/_new  2015-01-20 21:54:17.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package polkit
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,9 @@
 Patch0:         polkit-no-wheel-group.patch
 # PATCH-FIX-UPSTREAM polkit-no-systemd.patch bnc#782395 fdo#55377 
vu...@opensuse.org -- Do not reference non-existing polkit.service file for 
systemd (only applied if not built with systemd support)
 Patch1:         polkit-no-systemd.patch
+# PATCH-FIX-UPSTREAM polkit-no-kded-leak -- attemp to fix leaking of kded
+# duirng long periods of time while in lockscreen due to powerdevil managing
+Patch2:         polkit-no-kded-leak.patch
 # needed for patch1
 BuildRequires:  autoconf
 # needed for patch1
@@ -129,6 +132,7 @@
 %if !(0%{?with_systemd})
 %patch1 -p1
 %endif
+%patch2 -p1
 
 %build
 export V=1


++++++ polkit-no-kded-leak.patch ++++++
>From f4d71e0de885010494b8b0b8d62ca910011d7544 Mon Sep 17 00:00:00 2001
From: "Max A. Dednev" <ded...@rambler.ru>
Date: Sun, 11 Jan 2015 20:00:44 -0500
Subject: authority: Fix memory leak in EnumerateActions call results handler

Policykit-1 doesn't release reference counters of GVariant data for
org.freedesktop.PolicyKit1.Authority.EnumerateActions dbus call.  This
patch fixed reference counting and following memory leak.

https://bugs.freedesktop.org/show_bug.cgi?id=88288

diff --git a/src/polkit/polkitauthority.c b/src/polkit/polkitauthority.c
index 75619ab..ab6d3cd 100644
--- a/src/polkit/polkitauthority.c
+++ b/src/polkit/polkitauthority.c
@@ -715,7 +715,6 @@ polkit_authority_enumerate_actions_finish (PolkitAuthority 
*authority,
   while ((child = g_variant_iter_next_value (&iter)) != NULL)
     {
       ret = g_list_prepend (ret, polkit_action_description_new_for_gvariant 
(child));
-      g_variant_ref_sink (child);
       g_variant_unref (child);
     }
   ret = g_list_reverse (ret);
-- 
cgit v0.10.2


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to