mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Fix Coverity ID 1018, CHECKED_RETURN
This commit is contained in:
parent
4668ac8b16
commit
920b2fddc6
@ -488,9 +488,11 @@ NTSTATUS create_local_token(struct auth_serversupplied_info *server_info)
|
|||||||
"ignoring it\n", sid_string_dbg(sid)));
|
"ignoring it\n", sid_string_dbg(sid)));
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
add_gid_to_array_unique(server_info, gid,
|
if (!add_gid_to_array_unique(server_info, gid,
|
||||||
&server_info->utok.groups,
|
&server_info->utok.groups,
|
||||||
&server_info->utok.ngroups);
|
&server_info->utok.ngroups)) {
|
||||||
|
return NT_STATUS_NO_MEMORY;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user