mirror of https://gitee.com/openkylin/libvirt.git
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,
|
||||
_("Missing IP address in network '%s' DNS HOST record"),
|
||||
networkName);
|
||||
VIR_FREE(ip);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue