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:
Peter Krempa committed 2025-03-06 14:06:46 +01:00
1 parent bddb2363e8
commit 07d8755523
1 file changed
+1
+1
View File
@@ -75,6 +75,7 @@ virSEVCapabilitiesFree(virSEVCapability *cap)
g_free(cap->pdh);
g_free(cap->cert_chain);
g_free(cap->cpu0_id);
g_free(cap);
}