mirror of
https://github.com/libvirt/libvirt.git
synced 2026-10-02 12:20:06 -05:00
fix crash when init fails early (i.e. due to vbox not being installed)
This commit is contained in:
1 parent
54ebbde1e1
commit
67e2804ecb
2 files changed
+7
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user