summaryrefslogtreecommitdiff
path: root/source4/auth/auth_unix.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-09 02:03:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:25 -0500
commit38ec84a75c71b35ea88ba0efe5b935f7a0cdbe22 (patch)
treee588c4946c2e03c3304b9615a8a9f4515e198eb6 /source4/auth/auth_unix.c
parentc0a78453a77fb0aa42d676635778a75204b6869c (diff)
downloadsamba-38ec84a75c71b35ea88ba0efe5b935f7a0cdbe22.tar.gz
samba-38ec84a75c71b35ea88ba0efe5b935f7a0cdbe22.tar.bz2
samba-38ec84a75c71b35ea88ba0efe5b935f7a0cdbe22.zip
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)
Diffstat (limited to 'source4/auth/auth_unix.c')
-rw-r--r--source4/auth/auth_unix.c2
1 files changed, 1 insertions, 1 deletions
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;