提交 e1506cb4 编写于 作者: P Pritesh Kothari 提交者: Daniel Veillard

Fix reconnect bug for VBox

* src/vbox/vbox_tmpl.c: reconnecting to vbox:///session was failing
上级 909d647a
......@@ -216,6 +216,7 @@ no_memory:
}
static int vboxInitialize(virConnectPtr conn, vboxGlobalData *data) {
/* Get the API table for out version, g_pVBoxFuncs is for the oldest
version of the API that we support so we cannot use that. */
data->pFuncs = g_pfnGetFunctions(VBOX_XPCOMC_VERSION);
......@@ -286,7 +287,6 @@ static void vboxUninitialize(vboxGlobalData *data) {
if (data->pFuncs)
data->pFuncs->pfnComUninitialize();
VBoxCGlueTerm();
virDomainObjListFree(&data->domains);
virCapabilitiesFree(data->caps);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册