mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 06:50:22 +03:00
domain_caps: Don't leak 'cpu0_id' in 'virSEVCapabilitiesFree'
Freeing the 'virSEVCapability' object leaked the 'cpu0_id' field since its introduction. Fixes: 0236e6154c46603bc443eda2f05c8ce511c55b08 Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
bddb2363e8
commit
07d8755523
@ -75,6 +75,7 @@ virSEVCapabilitiesFree(virSEVCapability *cap)
|
||||
|
||||
g_free(cap->pdh);
|
||||
g_free(cap->cert_chain);
|
||||
g_free(cap->cpu0_id);
|
||||
g_free(cap);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user