mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
domain_caps: Don't leak 'cpu0_id' in 'virSEVCapabilitiesFree'
Freeing the 'virSEVCapability' object leaked the 'cpu0_id' field since
its introduction.
Fixes: 0236e6154c
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
1 parent
bddb2363e8
commit
07d8755523
1 file changed
+1
@@ -75,6 +75,7 @@ virSEVCapabilitiesFree(virSEVCapability *cap)
|
||||
|
||||
g_free(cap->pdh);
|
||||
g_free(cap->cert_chain);
|
||||
g_free(cap->cpu0_id);
|
||||
g_free(cap);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user