mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 22:55:23 +00:00
conf: Fix cpumask leak in virDomainDefFree
def->cpumask is a bitmap and needs to be freed by virBitmapFree.
This commit is contained in:
parent
93e5a1432d
commit
31f1f6bf4a
@ -1736,7 +1736,7 @@ void virDomainDefFree(virDomainDefPtr def)
|
||||
virDomainClockDefClear(&def->clock);
|
||||
|
||||
VIR_FREE(def->name);
|
||||
VIR_FREE(def->cpumask);
|
||||
virBitmapFree(def->cpumask);
|
||||
VIR_FREE(def->emulator);
|
||||
VIR_FREE(def->description);
|
||||
VIR_FREE(def->title);
|
||||
|
Loading…
Reference in New Issue
Block a user