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