mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
qemu: process: Clean up priv->migTLSAlias
The alias would be leaked, since it's not freed on the vm stop path.
(cherry picked from commit 8c1fee5f12
)
This commit is contained in:
parent
849fbcf723
commit
b4b8804978
@ -6441,6 +6441,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…
Reference in New Issue
Block a user