qemu: process: Clean up priv->migTLSAlias

The alias would be leaked, since it's not freed on the vm stop path.
This commit is contained in:
Peter Krempa
2017-04-28 09:26:24 +02:00
parent 3ab802d689
commit 8c1fee5f12
+3
View File
@@ -6447,6 +6447,9 @@ void qemuProcessStop(virQEMUDriverPtr driver,
virDomainUSBAddressSetFree(priv->usbaddrs);
priv->usbaddrs = NULL;
/* clean up migration data */
VIR_FREE(priv->migTLSAlias);
/* The "release" hook cleans up additional resources */
if (virHookPresent(VIR_HOOK_DRIVER_QEMU)) {
char *xml = qemuDomainDefFormatXML(driver, vm->def, 0);