mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
fix two "make syntax check" failures
* src/xenapi/xenapi_driver.c (xenapiOpen): Remove useless-if-before-free. * po/POTFILES.in: Add src/xenapi/xenapi_utils.c.
This commit is contained in:
parent
db481dca94
commit
a31bc67503
@ -78,5 +78,6 @@ src/xen/xen_hypervisor.c
|
||||
src/xen/xen_inotify.c
|
||||
src/xen/xm_internal.c
|
||||
src/xen/xs_internal.c
|
||||
src/xenapi/xenapi_utils.c
|
||||
tools/console.c
|
||||
tools/virsh.c
|
||||
|
@ -102,7 +102,7 @@ xenapiOpen (virConnectPtr conn, virConnectAuthPtr auth, int flags ATTRIBUTE_UNUS
|
||||
}
|
||||
if (!passwd || !conn->uri->user) {
|
||||
xenapiSessionErrorHandler(conn, VIR_ERR_AUTH_FAILED, "Username/Password not valid");
|
||||
if (passwd) VIR_FREE(passwd);
|
||||
VIR_FREE(passwd);
|
||||
return VIR_DRV_OPEN_ERROR;
|
||||
}
|
||||
if (VIR_ALLOC(privP) < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user