git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bbbc15
)
auth3: Use talloc_move instead of _steal
author
Volker Lendecke
<vl@samba.org>
Sun, 19 Feb 2017 13:23:58 +0000
(14:23 +0100)
committer
Jeremy Allison
<jra@samba.org>
Wed, 8 Mar 2017 21:01:15 +0000
(22:01 +0100)
That's the more "modern" way to steal
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/auth/auth.c
patch
|
blob
|
history
diff --git
a/source3/auth/auth.c
b/source3/auth/auth.c
index 7d0d4c073225ca4a06f4febaf611f91cc22adaba..c5392a5889e3e3b1238060b0a0167e8bc7a5f345 100644
(file)
--- a/
source3/auth/auth.c
+++ b/
source3/auth/auth.c
@@
-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;
}