PolicyKit: Branch 'master'

Miloslav Trmac mitr at kemper.freedesktop.org
Tue Apr 4 21:09:22 UTC 2017


 src/polkit/polkitpermission.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit df6488c0a5b2a6c7a2d4f6a55008263635c5571b
Author: Rui Matos <tiagomatos at gmail.com>
Date:   Thu Mar 2 14:50:31 2017 +0100

    polkitpermission: Fix a memory leak on authority changes
    
    Signed-off-by: Rui Matos <tiagomatos at gmail.com>
    
    https://bugs.freedesktop.org/show_bug.cgi?id=99741

diff --git a/src/polkit/polkitpermission.c b/src/polkit/polkitpermission.c
index f8a666e..f264094 100644
--- a/src/polkit/polkitpermission.c
+++ b/src/polkit/polkitpermission.c
@@ -454,6 +454,7 @@ changed_check_cb (GObject       *source_object,
   if (result != NULL)
     {
       process_result (permission, result);
+      g_object_unref (result);
     }
   else
     {


More information about the hal-commit mailing list