mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
talloc_tos() aborts if it can not get a stackframe
This commit is contained in:
parent
661f0ba73b
commit
eb8c081771
@ -655,9 +655,6 @@ NTSTATUS local_password_change(const char *user_name,
|
||||
*pp_msg_str = NULL;
|
||||
|
||||
tosctx = talloc_tos();
|
||||
if (!tosctx) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
sam_pass = samu_new(tosctx);
|
||||
if (!sam_pass) {
|
||||
|
Loading…
Reference in New Issue
Block a user