1
0
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:
Volker Lendecke 2011-03-16 18:45:50 +01:00
parent 4668ac8b16
commit 920b2fddc6

View File

@ -488,9 +488,11 @@ NTSTATUS create_local_token(struct auth_serversupplied_info *server_info)
"ignoring it\n", sid_string_dbg(sid)));
continue;
}
add_gid_to_array_unique(server_info, gid,
&server_info->utok.groups,
&server_info->utok.ngroups);
if (!add_gid_to_array_unique(server_info, gid,
&server_info->utok.groups,
&server_info->utok.ngroups)) {
return NT_STATUS_NO_MEMORY;
}
}
/*