Now we shutdown correctly it doesn't need the talloc_autofree_context().
Last use of talloc_autofree_context() ourside the talloc test code !
Please don't add it ever again :-).
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12932
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jul 27 01:34:12 CEST 2017 on sn-devel-144
return NT_STATUS_INVALID_PARAMETER_MIX;
}
- netlogon_creds_cli_global_db = talloc_move(talloc_autofree_context(), db);
+ netlogon_creds_cli_global_db = talloc_move(NULL, db);
return NT_STATUS_OK;
}
return NT_STATUS_NO_MEMORY;
}
- global_db = dbwrap_local_open(talloc_autofree_context(), lp_ctx,
+ global_db = dbwrap_local_open(NULL, lp_ctx,
fname, 0,
TDB_CLEAR_IF_FIRST|TDB_INCOMPATIBLE_HASH,
O_RDWR|O_CREAT,