mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
s3:check_sam_security: untangle assignment from statement
Michael
This commit is contained in:
parent
53a1ed9b6c
commit
b5fcb34d6c
@ -305,7 +305,8 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
|
||||
/* the returned struct gets kept on the server_info, by means
|
||||
of a steal further down */
|
||||
|
||||
if ( !(sampass = samu_new( mem_ctx )) ) {
|
||||
sampass = samu_new(mem_ctx);
|
||||
if (sampass == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user