diff options
Diffstat (limited to 'source3/smbd/uid.c')
-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; } |