summaryrefslogtreecommitdiff
path: root/source3/auth/auth_server.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-11 12:20:24 +0200
committerVolker Lendecke <vl@samba.org>2010-04-11 13:53:19 +0200
commitc5c40f26482696aca9ee67d170e827f450d59a8b (patch)
tree7f63421a3f2520c75a7000cde8045c70a8b6cd4f /source3/auth/auth_server.c
parente35a2f89b27b49f57d73c2461e0cecd2bbd46fa8 (diff)
downloadsamba-c5c40f26482696aca9ee67d170e827f450d59a8b.tar.gz
samba-c5c40f26482696aca9ee67d170e827f450d59a8b.tar.bz2
samba-c5c40f26482696aca9ee67d170e827f450d59a8b.zip
s3: Make "auth_context" its own talloc parent
Remove "mem_ctx" from "struct auth_context"
Diffstat (limited to 'source3/auth/auth_server.c')
-rw-r--r--source3/auth/auth_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_server.c b/source3/auth/auth_server.c
index 0109f625ed..f0f0267bdb 100644
--- a/source3/auth/auth_server.c
+++ b/source3/auth/auth_server.c
@@ -255,7 +255,7 @@ static DATA_BLOB auth_get_challenge_server(const struct auth_context *auth_conte
/* The return must be allocated on the caller's mem_ctx, as our own will be
destoyed just after the call. */
- return data_blob_talloc(auth_context->mem_ctx, cli->secblob.data,8);
+ return data_blob_talloc((TALLOC_CTX *)auth_context, cli->secblob.data,8);
} else {
return data_blob_null;
}