git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2efdc
)
s3: Remove talloc_autofree_context() from getpwnam_alloc()
author
Volker Lendecke
<vl@samba.org>
Sun, 26 Sep 2010 02:16:53 +0000
(19:16 -0700)
committer
Volker Lendecke
<vl@samba.org>
Sun, 26 Sep 2010 15:36:40 +0000
(17:36 +0200)
This is given to the memcache a few lines down
source3/lib/util_pw.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_pw.c
b/source3/lib/util_pw.c
index 4d4041cd5fdb6f8d85eab66de7cf8dc3552d1914..5ba5fde0ebecd1e83e0b351edc4ed2183102e418 100644
(file)
--- 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;
}