From 227945d31c23b2b76c312cef73370865e1722f3a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Sep 2010 19:16:53 -0700 Subject: s3: Remove talloc_autofree_context() from getpwnam_alloc() This is given to the memcache a few lines down --- source3/lib/util_pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/lib/util_pw.c b/source3/lib/util_pw.c index 4d4041cd5f..5ba5fde0eb 100644 --- a/source3/lib/util_pw.c +++ b/source3/lib/util_pw.c @@ -58,7 +58,7 @@ struct passwd *getpwnam_alloc(TALLOC_CTX *mem_ctx, const char *name) return NULL; } - for_cache = tcopy_passwd(talloc_autofree_context(), pw); + for_cache = tcopy_passwd(talloc_tos(), pw); if (for_cache == NULL) { return NULL; } -- cgit