diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 15:35:44 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 01:12:37 +0200 |
commit | 6ee0d866c2d7dbdede8511fb906c10f6118fa87d (patch) | |
tree | d4ff03c45e7f1b579ab83df33298d610ef79a4d5 /source3/smbd | |
parent | 242e3296108f513b286787ac12ea768b9c4ed954 (diff) | |
download | samba-6ee0d866c2d7dbdede8511fb906c10f6118fa87d.tar.gz samba-6ee0d866c2d7dbdede8511fb906c10f6118fa87d.tar.bz2 samba-6ee0d866c2d7dbdede8511fb906c10f6118fa87d.zip |
s3: Lift talloc_autofree_context() from make_auth_context_fixed()
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/sesssetup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 68b91b7f1b..c2a2d16303 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -147,8 +147,8 @@ static NTSTATUS check_guest_password(struct auth_serversupplied_info **server_in DEBUG(3,("Got anonymous request\n")); - if (!NT_STATUS_IS_OK(nt_status = make_auth_context_fixed(&auth_context, - chal))) { + nt_status = make_auth_context_fixed(talloc_tos(), &auth_context, chal); + if (!NT_STATUS_IS_OK(nt_status)) { return nt_status; } |