mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-09-01 14:17:33 +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:
committed by
Daniel Veillard
parent
6ddb83efcc
commit
d50bb45b1a
@ -5739,6 +5739,7 @@ virDomainDefParseBootXML(xmlXPathContextPtr ctxt,
|
||||
} else {
|
||||
def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO;
|
||||
}
|
||||
VIR_FREE(useserial);
|
||||
}
|
||||
|
||||
*bootCount = deviceBoot;
|
||||
|
Reference in New Issue
Block a user