28 lines
780 B
Diff
28 lines
780 B
Diff
|
From dfd2c165447029c32510842350e924ef5ac3f679 Mon Sep 17 00:00:00 2001
|
||
|
From: Rui Matos <tiagomatos@gmail.com>
|
||
|
Date: Thu, 2 Mar 2017 14:50:31 +0100
|
||
|
Subject: [PATCH] polkitpermission: Fix a memory leak on authority changes
|
||
|
|
||
|
Signed-off-by: Rui Matos <tiagomatos@gmail.com>
|
||
|
|
||
|
https://bugs.freedesktop.org/show_bug.cgi?id=99741
|
||
|
---
|
||
|
src/polkit/polkitpermission.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
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
|
||
|
{
|
||
|
--
|
||
|
2.9.3
|
||
|
|