Remove redundant free in virNetworkDNSHostDefParseXML

ip has to be NULL at this point.
This commit is contained in:
Ján Tomko
2013-07-26 12:53:45 +02:00
parent 1238684a87
commit 4d59d5a7d2
-1
View File
@@ -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;
}