mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemu: free SEV caps in virQEMUCapsDispose
Commit 77f51ab5
started parsing an copying the SEV capabilities,
but omitted the free call.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
b975afc725
commit
cc786a8fd6
@ -1662,6 +1662,8 @@ void virQEMUCapsDispose(void *obj)
|
|||||||
|
|
||||||
VIR_FREE(qemuCaps->gicCapabilities);
|
VIR_FREE(qemuCaps->gicCapabilities);
|
||||||
|
|
||||||
|
virSEVCapabilitiesFree(qemuCaps->sevCapabilities);
|
||||||
|
|
||||||
virQEMUCapsHostCPUDataClear(&qemuCaps->kvmCPU);
|
virQEMUCapsHostCPUDataClear(&qemuCaps->kvmCPU);
|
||||||
virQEMUCapsHostCPUDataClear(&qemuCaps->tcgCPU);
|
virQEMUCapsHostCPUDataClear(&qemuCaps->tcgCPU);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user