1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

Fix winbindd msrpc_lookup_useraliases.

Guenther
(This used to be commit e196e527ae47a75f6cac09b9f89aa5619047d4d2)
This commit is contained in:
Günther Deschner 2008-02-08 10:59:31 +01:00
parent 9b62cea7da
commit 7329bd24f9

View File

@ -633,7 +633,7 @@ NTSTATUS msrpc_lookup_useraliases(struct winbindd_domain *domain,
for (i=0; i<num_query_sids; i++) {
sid_array.sids[i].sid = sid_dup_talloc(mem_ctx, &sids[total_sids++]);
if (sid_array.sids[i].sid) {
if (!sid_array.sids[i].sid) {
TALLOC_FREE(sid_array.sids);
return NT_STATUS_NO_MEMORY;
}