diff options
Diffstat (limited to 'libraries/libvirt/0001-util-Free-a-pointer-in-virPolkitCheckAuth.patch')
-rw-r--r-- | libraries/libvirt/0001-util-Free-a-pointer-in-virPolkitCheckAuth.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libraries/libvirt/0001-util-Free-a-pointer-in-virPolkitCheckAuth.patch b/libraries/libvirt/0001-util-Free-a-pointer-in-virPolkitCheckAuth.patch new file mode 100644 index 0000000000000..6c412176bf4af --- /dev/null +++ b/libraries/libvirt/0001-util-Free-a-pointer-in-virPolkitCheckAuth.patch @@ -0,0 +1,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 + |