From c5c40f26482696aca9ee67d170e827f450d59a8b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 11 Apr 2010 12:20:24 +0200 Subject: s3: Make "auth_context" its own talloc parent Remove "mem_ctx" from "struct auth_context" --- source3/auth/auth_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/auth/auth_util.c') 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; -- cgit