From d31bf0e29d7982c24dadea1c9fb481ef26db72dd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 19 Feb 2017 14:23:58 +0100 Subject: [PATCH] auth3: Use talloc_move instead of _steal That's the more "modern" way to steal Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/auth/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/auth/auth.c b/source3/auth/auth.c index 7d0d4c07322..c5392a5889e 100644 --- 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; }