qemu: Unref cfg in qemuDomainDefPostParse

Introduced by commit 15ad2ecf11.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2016-04-26 14:38:14 +02:00
parent 67f2b72723
commit d3d4fb4b18

View File

@ -1722,6 +1722,7 @@ qemuDomainDefPostParse(virDomainDefPtr def,
ret = 0;
cleanup:
virObjectUnref(qemuCaps);
virObjectUnref(cfg);
return ret;
}