mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-07 12:17:18 +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 8c1fee5f12e607a775199b65915715bb5a2b581d)
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…
x
Reference in New Issue
Block a user