1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +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 {
def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO;
}
VIR_FREE(useserial);
}
*bootCount = deviceBoot;