From: Martin Kletzander Date: Fri, 8 Apr 2016 13:29:40 +0000 (+0200) Subject: qemu: Free priv->machineName X-Git-Tag: v1.3.4-rc1~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16b41728b59a7188f643937303e3aec4c299a980;p=thirdparty%2Flibvirt.git 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 --- diff --git a/src/qemu/qemu_cgroup.c b/src/qemu/qemu_cgroup.c index c76d5857f7..1e04a68e04 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); }