mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Remove redundant free in virNetworkDNSHostDefParseXML
ip has to be NULL at this point.
This commit is contained in:
parent
1238684a87
commit
4d59d5a7d2
@ -856,7 +856,6 @@ virNetworkDNSHostDefParseXML(const char *networkName,
|
|||||||
virReportError(VIR_ERR_XML_DETAIL,
|
virReportError(VIR_ERR_XML_DETAIL,
|
||||||
_("Missing IP address in network '%s' DNS HOST record"),
|
_("Missing IP address in network '%s' DNS HOST record"),
|
||||||
networkName);
|
networkName);
|
||||||
VIR_FREE(ip);
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user