summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-25 15:31:29 -0700
committerVolker Lendecke <vl@samba.org>2010-09-26 01:12:37 +0200
commit242e3296108f513b286787ac12ea768b9c4ed954 (patch)
tree326069ebcf1a00836ba561173d829d4170a40504 /source3/rpc_server
parent2d8be31e880bcd1b7444ffd45295cc9948079b6f (diff)
downloadsamba-242e3296108f513b286787ac12ea768b9c4ed954.tar.gz
samba-242e3296108f513b286787ac12ea768b9c4ed954.tar.bz2
samba-242e3296108f513b286787ac12ea768b9c4ed954.zip
s3: Lift talloc_autofree_context() from make_auth_context_subsystem()
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_netlog_nt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index d821b04cdc..963737f897 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -1360,7 +1360,9 @@ static NTSTATUS _netr_LogonSamLogon_base(struct pipes_struct *p,
{
uint8_t chal[8];
- if (!NT_STATUS_IS_OK(status = make_auth_context_subsystem(&auth_context))) {
+ status = make_auth_context_subsystem(talloc_tos(),
+ &auth_context);
+ if (!NT_STATUS_IS_OK(status)) {
return status;
}