qemuDomainObjPrivateFree: Free @machineName

We're storing the machine name in @priv but free it just in
qemuProcessStop, Therefore this may leak.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Michal Privoznik 2017-08-04 15:17:39 +02:00
parent 2d533297a0
commit e0a4eaa913

View File

@ -1722,6 +1722,7 @@ qemuDomainObjPrivateFree(void *data)
virBitmapFree(priv->autoNodeset);
virBitmapFree(priv->autoCpuset);
VIR_FREE(priv->machineName);
VIR_FREE(priv->libDir);
VIR_FREE(priv->channelTargetDir);