summaryrefslogtreecommitdiffstats
path: root/source3/auth/auth_util.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_util.c
parente35a2f89b27b49f57d73c2461e0cecd2bbd46fa8 (diff)
downloadsamba-c5c40f26482696aca9ee67d170e827f450d59a8b.tar.gz
samba-c5c40f26482696aca9ee67d170e827f450d59a8b.tar.xz
samba-c5c40f26482696aca9ee67d170e827f450d59a8b.zip
s3: Make "auth_context" its own talloc parent
Remove "mem_ctx" from "struct auth_context"
Diffstat (limited to 'source3/auth/auth_util.c')
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index f149b19c0e..ab2ffc259e 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -2144,7 +2144,7 @@ bool make_auth_methods(struct auth_context *auth_context, auth_methods **auth_me
"is NULL!\n");
}
- *auth_method = TALLOC_P(auth_context->mem_ctx, auth_methods);
+ *auth_method = TALLOC_P(auth_context, auth_methods);
if (!*auth_method) {
DEBUG(0,("make_auth_method: malloc failed!\n"));
return False;