提交 c9f604fc 编写于 作者: O Osier Yang

conf: Fix memory leak in virNetworkDNSDefFormat

上级 eb9dee2b
......@@ -945,6 +945,7 @@ virNetworkDNSDefFormat(virBufferPtr buf,
def->hosts[ii].names[j]);
virBufferAsprintf(buf, " </host>\n");
VIR_FREE(ip);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册