diff options
| author | Volker Lendecke <vl@samba.org> | 2010-09-25 19:21:56 -0700 | 
|---|---|---|
| committer | Volker Lendecke <vl@samba.org> | 2010-09-26 17:36:40 +0200 | 
| commit | d0739d436e50f23ce8378cd3645f6cac74afbc13 (patch) | |
| tree | 564f8dbac0882038d16d90e933ecd048172f0e5f /source3/lib | |
| parent | d4bfb5c48847fa73cdf10ede0d72b90ac45a1ef1 (diff) | |
| download | samba-d0739d436e50f23ce8378cd3645f6cac74afbc13.tar.gz samba-d0739d436e50f23ce8378cd3645f6cac74afbc13.tar.bz2 samba-d0739d436e50f23ce8378cd3645f6cac74afbc13.zip  | |
s3: Remove talloc_autofree_context() from nametouid()
pass is freed a few lines down
Diffstat (limited to 'source3/lib')
| -rw-r--r-- | source3/lib/util.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index 28336512df..90fcb3773e 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1306,7 +1306,7 @@ uid_t nametouid(const char *name)  	char *p;  	uid_t u; -	pass = getpwnam_alloc(talloc_autofree_context(), name); +	pass = getpwnam_alloc(talloc_tos(), name);  	if (pass) {  		u = pass->pw_uid;  		TALLOC_FREE(pass);  | 
