From 32c6a959ac878f84b994aac37a39bf40ea1e22cf Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Fri, 30 Jul 2010 11:40:59 -0400 Subject: [PATCH] Free up memballoon def. Forgetting to do this was causing a memory leak. Signed-off-by: Chris Lalancette --- src/conf/domain_conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index ce1882f16b..bfe01f0003 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -768,6 +768,8 @@ void virDomainDefFree(virDomainDefPtr def) virDomainWatchdogDefFree(def->watchdog); + virDomainMemballoonDefFree(def->memballoon); + virSecurityLabelDefFree(def); virCPUDefFree(def->cpu);