]> xenbits.xensource.com Git - libvirt.git/commitdiff
qemu: Free priv->machineName
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 8 Apr 2016 13:29:40 +0000 (15:29 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 11 Apr 2016 09:46:09 +0000 (11:46 +0200)
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>
src/qemu/qemu_cgroup.c

index c76d5857f715b6e77034f01746f47e9cfbd7e9ed..1e04a68e0488e532d6645983f3aa806ccb982a97 100644 (file)
@@ -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);
 }