mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: popt: Change to NULL from talloc_autofree_context() now we correctly free on exit.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue May 9 14:00:40 CEST 2017 on sn-devel-144
This commit is contained in:
parent
47dc643b0d
commit
547524d7f8
@ -265,7 +265,7 @@ static void popt_common_credentials_callback(poptContext con,
|
||||
{
|
||||
if (reason == POPT_CALLBACK_REASON_PRE) {
|
||||
struct user_auth_info *auth_info =
|
||||
user_auth_info_init(talloc_autofree_context());
|
||||
user_auth_info_init(NULL);
|
||||
if (auth_info == NULL) {
|
||||
fprintf(stderr, "user_auth_info_init() failed\n");
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user