提交 aad68731 编写于 作者: D Daniel P. Berrange

Don't try to close NULL virConnectPtr object

上级 a3262d81
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>
* src/storage_conf.c: fix storage pool mode parsing, and refactoring
......
......@@ -235,7 +235,8 @@ qemudAutostartConfigs(struct qemud_driver *driver) {
virDomainObjUnlock(vm);
}
virConnectClose(conn);
if (conn)
virConnectClose(conn);
}
......
......@@ -146,7 +146,8 @@ umlAutostartConfigs(struct uml_driver *driver) {
}
}
virConnectClose(conn);
if (conn)
virConnectClose(conn);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册