提交 2d533297 编写于 作者: M Michal Privoznik

virNodeDevCapCCWParseXML: Free temporary variables

Again, we are using @cssid, @ssid and @devno to store some
temporary strings, but never free it.
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 65cb40a0
......@@ -792,6 +792,9 @@ virNodeDevCapCCWParseXML(xmlXPathContextPtr ctxt,
out:
ctxt->node = orignode;
VIR_FREE(cssid);
VIR_FREE(ssid);
VIR_FREE(devno);
return ret;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册