提交 0cec79b9 编写于 作者: J John Ferlan

network_conf: Resolve Coverity RESOURCE_LEAK

Need to VIR_FREE the startip/endip we allocated for the error message
上级 2f7ced36
......@@ -3627,6 +3627,8 @@ virNetworkDefUpdateIPDHCPRange(virNetworkDefPtr def,
def->name,
startip ? startip : "unknown",
endip ? endip : "unknown");
VIR_FREE(startip);
VIR_FREE(endip);
goto cleanup;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册