blob: 6c412176bf4af06ce7946dfa607ec59fcacd4981 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
From 65a983eca1f44eaf2a209ae232f72aa659184945 Mon Sep 17 00:00:00 2001
From: Kothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
Date: Wed, 4 Oct 2017 14:08:45 +0530
Subject: [PATCH] util: Free a pointer in virPolkitCheckAuth
Free DBusMessage pointer in virPolkitCheckAuth
Signed-off-by: Kothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
---
src/util/virpolkit.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/util/virpolkit.c b/src/util/virpolkit.c
index c735ca9b1..4559431ba 100644
--- a/src/util/virpolkit.c
+++ b/src/util/virpolkit.c
@@ -138,6 +138,7 @@ int virPolkitCheckAuth(const char *actionid,
cleanup:
virStringListFreeCount(retdetails, nretdetails);
+ virDBusMessageUnref(reply);
return ret;
}
--
2.14.1
|