提交 67e2804e 编写于 作者: G Guido Günther

fix crash when init fails early (i.e. due to vbox not being installed)

上级 54ebbde1
Fri May 8 12:09:12 CEST 2009 Guido Günther <agx@sigxcpu.org>
* src/vbox/vbox_tmpl.c (vboxUninitialize): fix crash when init fails
early (i.e. due to vbox not being installed)
Fri May 8 11:10:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
* src/qemu_driver.c: Make name & UUID uniqueness checking in
......
......@@ -291,7 +291,8 @@ static int vboxExtractVersion(virConnectPtr conn, vboxGlobalData *data) {
}
static void vboxUninitialize(vboxGlobalData *data) {
data->pFuncs->pfnComUninitialize();
if (data->pFuncs)
data->pFuncs->pfnComUninitialize();
VBoxCGlueTerm();
if (!data)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册