mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 05:25:18 +00:00
qemu: Free priv->machineName
Commit c3bd0019c0e3 forgot to cleanup after itself. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1325043 Signed-off-by: Martin Kletzander <mkletzan@redhat.com> (cherry picked from commit 16b41728b59a7188f643937303e3aec4c299a980)
This commit is contained in:
parent
9d06d0f66f
commit
a76ae293c3
@ -1123,5 +1123,7 @@ qemuRemoveCgroup(virDomainObjPtr vm)
|
|||||||
VIR_DEBUG("Failed to terminate cgroup for %s", vm->def->name);
|
VIR_DEBUG("Failed to terminate cgroup for %s", vm->def->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
VIR_FREE(priv->machineName);
|
||||||
|
|
||||||
return virCgroupRemove(priv->cgroup);
|
return virCgroupRemove(priv->cgroup);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user