mirror of https://gitee.com/openkylin/libvirt.git
Free up memballoon def.
Forgetting to do this was causing a memory leak. Signed-off-by: Chris Lalancette <clalance@redhat.com>
This commit is contained in:
parent
ab85b5eaa2
commit
32c6a959ac
|
@ -768,6 +768,8 @@ void virDomainDefFree(virDomainDefPtr def)
|
||||||
|
|
||||||
virDomainWatchdogDefFree(def->watchdog);
|
virDomainWatchdogDefFree(def->watchdog);
|
||||||
|
|
||||||
|
virDomainMemballoonDefFree(def->memballoon);
|
||||||
|
|
||||||
virSecurityLabelDefFree(def);
|
virSecurityLabelDefFree(def);
|
||||||
|
|
||||||
virCPUDefFree(def->cpu);
|
virCPUDefFree(def->cpu);
|
||||||
|
|
Loading…
Reference in New Issue