From 38ec84a75c71b35ea88ba0efe5b935f7a0cdbe22 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Jul 2005 02:03:34 +0000 Subject: r8251: fixed a couple of valgrind errors in the unix auth code. Simo, can you please check that this is what you intended? (This used to be commit a57738769dfb5a47ac49e965750193ecdc903d5a) --- source4/auth/auth_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/auth/auth_unix.c') diff --git a/source4/auth/auth_unix.c b/source4/auth/auth_unix.c index 990cf5568b..7565d12eee 100644 --- a/source4/auth/auth_unix.c +++ b/source4/auth/auth_unix.c @@ -784,7 +784,7 @@ static NTSTATUS authunix_check_password(struct auth_method_context *ctx, return nt_status; } - nt_status = authunix_make_server_info(check_ctx, user_info, server_info); + nt_status = authunix_make_server_info(mem_ctx, user_info, server_info); if ( ! NT_STATUS_IS_OK(nt_status)) { talloc_free(check_ctx); return nt_status; -- cgit