1
0
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:
Michael Adam 2009-12-30 12:46:22 +01:00
parent 53a1ed9b6c
commit b5fcb34d6c

View File

@ -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;
}