From d50bb45b1aad46084c48ffcb2aad165d383774a7 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Tue, 12 Jul 2011 17:01:37 +0800 Subject: [PATCH] domain_conf: Free temporary variable * src/conf/domain_conf.c: caller must free returned value of virXPathString in useserial --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index d75a2669c1..bf2eadfe79 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -5739,6 +5739,7 @@ virDomainDefParseBootXML(xmlXPathContextPtr ctxt, } else { def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO; } + VIR_FREE(useserial); } *bootCount = deviceBoot; -- GitLab