diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 19:16:53 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 17:36:40 +0200 |
commit | 227945d31c23b2b76c312cef73370865e1722f3a (patch) | |
tree | 37f6b3dfd82029740845b8cdd6b2ec8107058be8 /source3 | |
parent | 3b2efdc7d7fe1346e363e6df679624150a0f95d7 (diff) | |
download | samba-227945d31c23b2b76c312cef73370865e1722f3a.tar.gz samba-227945d31c23b2b76c312cef73370865e1722f3a.tar.bz2 samba-227945d31c23b2b76c312cef73370865e1722f3a.zip |
s3: Remove talloc_autofree_context() from getpwnam_alloc()
This is given to the memcache a few lines down
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/util_pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |