mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
auth3: Use talloc_move instead of _steal
That's the more "modern" way to steal Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
1bbbc152d3
commit
d31bf0e29d
@ -257,7 +257,7 @@ NTSTATUS auth_check_ntlm_password(TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_OK(nt_status)) {
|
||||
*pserver_info = talloc_steal(mem_ctx, server_info);
|
||||
*pserver_info = talloc_move(mem_ctx, &server_info);
|
||||
TALLOC_FREE(tmp_ctx);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user