mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-29 17:33:09 +00:00
Don't try to close NULL virConnectPtr object
This commit is contained in:
parent
a3262d812b
commit
aad6873175
@ -1,3 +1,9 @@
|
|||||||
|
Mon Mar 16 10:29:00 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
Avoid harmless warning message
|
||||||
|
* src/qemu_driver.c, src/uml_driver.c: Don't try to close a
|
||||||
|
NULL virConnectPtr object.
|
||||||
|
|
||||||
Thu Mar 12 21:13:40 CET 2009 Daniel Veillard <veilard@redhat.com>
|
Thu Mar 12 21:13:40 CET 2009 Daniel Veillard <veilard@redhat.com>
|
||||||
|
|
||||||
* src/storage_conf.c: fix storage pool mode parsing, and refactoring
|
* src/storage_conf.c: fix storage pool mode parsing, and refactoring
|
||||||
|
@ -235,6 +235,7 @@ qemudAutostartConfigs(struct qemud_driver *driver) {
|
|||||||
virDomainObjUnlock(vm);
|
virDomainObjUnlock(vm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (conn)
|
||||||
virConnectClose(conn);
|
virConnectClose(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,6 +146,7 @@ umlAutostartConfigs(struct uml_driver *driver) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (conn)
|
||||||
virConnectClose(conn);
|
virConnectClose(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user