28 lines
743 B
Diff
28 lines
743 B
Diff
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
|
|
|