mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
Remove redundant free in virNetworkDNSHostDefParseXML
ip has to be NULL at this point.
This commit is contained in:
@@ -856,7 +856,6 @@ virNetworkDNSHostDefParseXML(const char *networkName,
|
||||
virReportError(VIR_ERR_XML_DETAIL,
|
||||
_("Missing IP address in network '%s' DNS HOST record"),
|
||||
networkName);
|
||||
VIR_FREE(ip);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user