diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-25 16:31:18 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-26 03:29:29 +0200 |
commit | 8a48ca4e3f2509571f0910165c9e8763864e9c7a (patch) | |
tree | 8581954cc7a4f3e52fbb05301a2cf67f9281ddd1 | |
parent | 4ebbbdd011aae397c79cc5a83a729e547480c112 (diff) | |
download | samba-8a48ca4e3f2509571f0910165c9e8763864e9c7a.tar.gz samba-8a48ca4e3f2509571f0910165c9e8763864e9c7a.tar.bz2 samba-8a48ca4e3f2509571f0910165c9e8763864e9c7a.zip |
s3: Remove talloc_autofree_context() from change_to_guest()
pass is freed at the exit of this routine
-rw-r--r-- | source3/smbd/uid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c index 3b40cefd36..c52a819ba3 100644 --- a/source3/smbd/uid.c +++ b/source3/smbd/uid.c @@ -32,7 +32,7 @@ bool change_to_guest(void) { struct passwd *pass; - pass = getpwnam_alloc(talloc_autofree_context(), lp_guestaccount()); + pass = getpwnam_alloc(talloc_tos(), lp_guestaccount()); if (!pass) { return false; } |