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:
parent
6ddb83efcc
commit
d50bb45b1a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user