mirror of
git://slackware.nl/current.git
synced 2025-01-17 18:12:36 +01:00
29 lines
788 B
Diff
29 lines
788 B
Diff
|
From df6488c0a5b2a6c7a2d4f6a55008263635c5571b Mon Sep 17 00:00:00 2001
|
||
|
From: Rui Matos <tiagomatos@gmail.com>
|
||
|
Date: Thu, 2 Mar 2017 14:50:31 +0100
|
||
|
Subject: [PATCH 15/16] 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.13.0
|
||
|
|