1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-26 03:21:44 +03:00

domain_conf: Free temporary variable

* src/conf/domain_conf.c: caller must free returned value of
  virXPathString in useserial
This commit is contained in:
Michal Privoznik 2011-07-12 17:01:37 +08:00 committed by Daniel Veillard
parent 6ddb83efcc
commit d50bb45b1a

View File

@ -5739,6 +5739,7 @@ virDomainDefParseBootXML(xmlXPathContextPtr ctxt,
} else { } else {
def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO; def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO;
} }
VIR_FREE(useserial);
} }
*bootCount = deviceBoot; *bootCount = deviceBoot;