]> xenbits.xensource.com Git - libvirt.git/commitdiff
util: Free a pointer in virPolkitCheckAuth
authorKothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
Wed, 4 Oct 2017 08:38:45 +0000 (14:08 +0530)
committerJán Tomko <jtomko@redhat.com>
Wed, 4 Oct 2017 09:20:17 +0000 (11:20 +0200)
Free DBusMessage pointer in virPolkitCheckAuth

Signed-off-by: Kothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
src/util/virpolkit.c

index c735ca9b1fa61e9342c189caf4a221a7f4238f5a..4559431baf259e897b7b89a85c0aab0beeb980ac 100644 (file)
@@ -138,6 +138,7 @@ int virPolkitCheckAuth(const char *actionid,
 
  cleanup:
     virStringListFreeCount(retdetails, nretdetails);
+    virDBusMessageUnref(reply);
     return ret;
 }