[libvirt] [PATCH 1/2] qemu: Unref cfg in qemuDomainDefPostParse

Martin Kletzander mkletzan at redhat.com
Tue Apr 26 14:34:11 UTC 2016


Introduced by commit 15ad2ecf114d.

Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
 src/qemu/qemu_domain.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 3b152893a23a..a2f981043915 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1714,6 +1714,7 @@ qemuDomainDefPostParse(virDomainDefPtr def,
     ret = 0;
  cleanup:
     virObjectUnref(qemuCaps);
+    virObjectUnref(cfg);
     return ret;
 }

-- 
2.8.1




More information about the libvir-list mailing list