]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Unref cfg in qemuDomainDefPostParse
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 26 Apr 2016 12:38:14 +0000 (14:38 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Wed, 27 Apr 2016 13:06:09 +0000 (15:06 +0200)
Introduced by commit 15ad2ecf114d.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_domain.c

index 51d4830a77bbc3224a955f2faed52ec7f0cb4a88..b95ba7e781136492e805912b3045a01e4541a345 100644 (file)
@@ -1722,6 +1722,7 @@ qemuDomainDefPostParse(virDomainDefPtr def,
     ret = 0;
  cleanup:
     virObjectUnref(qemuCaps);
+    virObjectUnref(cfg);
     return ret;
 }