提交 223ce2f1 编写于 作者: M Michal Privoznik

networkBuildDhcpDaemonCommandLine: Don't leak @configstr and @configfile

Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 887dd362
......@@ -1061,6 +1061,8 @@ networkBuildDhcpDaemonCommandLine(virNetworkObjPtr network,
*cmdout = cmd;
ret = 0;
cleanup:
VIR_FREE(configfile);
VIR_FREE(configstr);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册