Free DBusMessage pointer in virPolkitCheckAuth
Signed-off-by: Kothapally Madhu Pavan <kmp(a)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 c735ca9..4559431 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;
}
--
1.8.3.1