mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
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:
parent
3ab802d689
commit
8c1fee5f12
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user