mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r14372: fix bug found by sparse
metze
(This used to be commit da1ac9b224
)
This commit is contained in:
parent
2d404f2934
commit
add7ba54c1
@ -242,7 +242,7 @@ struct smbcli_socket *smbcli_sock_connect_byname(const char *host, int port,
|
||||
status = resolve_name(&nbt_name, tmp_ctx, &address, event_ctx);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
talloc_free(tmp_ctx);
|
||||
return False;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
status = smbcli_sock_connect(mem_ctx, address, port, name, event_ctx,
|
||||
|
Loading…
Reference in New Issue
Block a user