mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 01:43:23 +00:00
conf: cpu: Fix memory leak when specifying cpu vendor_id manually
The field was not freed from the cpu definition.
This commit is contained in:
parent
1190a82469
commit
fb49ffc3bb
@ -87,6 +87,7 @@ virCPUDefFree(virCPUDefPtr def)
|
||||
VIR_FREE(def->cells[i].cpustr);
|
||||
}
|
||||
VIR_FREE(def->cells);
|
||||
VIR_FREE(def->vendor_id);
|
||||
|
||||
VIR_FREE(def);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user