mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
virDomainDefParseXML: Free @tmp
When parsing <ioapic> feature we're using @tmp to store some temporary string but never free it. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
5619c93ce7
commit
65cb40a07e
@ -17892,6 +17892,7 @@ virDomainDefParseXML(xmlDocPtr xml,
|
||||
}
|
||||
def->ioapic = value;
|
||||
def->features[val] = VIR_TRISTATE_SWITCH_ON;
|
||||
VIR_FREE(tmp);
|
||||
}
|
||||
ctxt->node = node;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user