mirror of https://gitee.com/openkylin/libvirt.git
qemu: Fix qemuDomainModifyDeviceFlags leaking the caps bitmap
This commit is contained in:
parent
9d50b323a9
commit
feecc9f395
|
@ -4316,6 +4316,7 @@ endjob:
|
|||
vm = NULL;
|
||||
|
||||
cleanup:
|
||||
qemuCapsFree(qemuCaps);
|
||||
virDomainDefFree(vmdef);
|
||||
virDomainDeviceDefFree(dev);
|
||||
if (vm)
|
||||
|
|
Loading…
Reference in New Issue