提交 c6248f04 编写于 作者: J John Ferlan 提交者: Ján Tomko

interface: Resolve resource leak wth 'tmp_iface_objs'

上级 0f45d8a2
......@@ -399,6 +399,7 @@ cleanup:
if (tmp_iface_objs[i])
virInterfaceFree(tmp_iface_objs[i]);
}
VIR_FREE(tmp_iface_objs);
}
interfaceDriverUnlock(driver);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册