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:
Chris Lalancette 2010-07-30 11:40:59 -04:00
parent ab85b5eaa2
commit 32c6a959ac
1 changed files with 2 additions and 0 deletions

View File

@ -768,6 +768,8 @@ void virDomainDefFree(virDomainDefPtr def)
virDomainWatchdogDefFree(def->watchdog);
virDomainMemballoonDefFree(def->memballoon);
virSecurityLabelDefFree(def);
virCPUDefFree(def->cpu);