提交 5f48643e 编写于 作者: M Matthias Bolte 提交者: Daniel Veillard

Fix memleak if esxOpen fails

* src/esx/esx_driver.c: if esxOpen failed, priv->transport wasn't freed
上级 a7c76142
......@@ -298,6 +298,7 @@ esxOpen(virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUSED)
esxVI_Context_Free(&priv->host);
esxVI_Context_Free(&priv->vcenter);
VIR_FREE(priv->transport);
VIR_FREE(priv);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册