mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
fix crash when init fails early (i.e. due to vbox not being installed)
This commit is contained in:
parent
54ebbde1e1
commit
67e2804ecb
@ -1,3 +1,8 @@
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user