Commit c3bd0019c0e3 forgot to cleanup after itself.
Signed-off-by: Martin Kletzander <mkletzan(a)redhat.com>
---
src/qemu/qemu_cgroup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c
index c76d5857f715..1e04a68e0488 100644
--- a/src/qemu/qemu_cgroup.c
+++ b/src/qemu/qemu_cgroup.c
@@ -1123,5 +1123,7 @@ qemuRemoveCgroup(virDomainObjPtr vm)
VIR_DEBUG("Failed to terminate cgroup for %s",
vm->def->name);
}
+ VIR_FREE(priv->machineName);
+
return virCgroupRemove(priv->cgroup);
}
--
2.8.1