mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
free cpumask of vcpupinDef
cpumask doesn't get freed when vcpupinDef being freed, this leaks memory.
This commit is contained in:
parent
e63dfb8198
commit
eed9d69e3c
@ -858,6 +858,7 @@ virDomainVcpupinDefFree(virDomainVcpupinDefPtr *def,
|
||||
return;
|
||||
|
||||
for(i = 0; i < nvcpupin; i++) {
|
||||
VIR_FREE(def[i]->cpumask);
|
||||
VIR_FREE(def[i]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user