mirror of
https://github.com/samba-team/samba.git
synced 2025-01-29 21:47:30 +03:00
Fixed debugs.
This commit is contained in:
parent
06df6c79ae
commit
6d9336f3b9
@ -59,13 +59,13 @@ static DOM_SID *net_get_remote_domain_sid(struct cli_state *cli)
|
|||||||
TALLOC_CTX *mem_ctx;
|
TALLOC_CTX *mem_ctx;
|
||||||
|
|
||||||
if (!(domain_sid = malloc(sizeof(DOM_SID)))){
|
if (!(domain_sid = malloc(sizeof(DOM_SID)))){
|
||||||
DEBUG(0,("fetch_domain_sid: malloc returned NULL!\n"));
|
DEBUG(0,("net_get_remote_domain_sid: malloc returned NULL!\n"));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(mem_ctx=talloc_init()))
|
if (!(mem_ctx=talloc_init()))
|
||||||
{
|
{
|
||||||
DEBUG(0,("fetch_domain_sid: talloc_init returned NULL!\n"));
|
DEBUG(0,("net_get_remote_domain_sid: talloc_init returned NULL!\n"));
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user