summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-08 10:59:31 +0100
committerGünther Deschner <gd@samba.org>2008-02-08 10:59:31 +0100
commit7329bd24f97688597d5c61dcf00fb39f302654fe (patch)
tree02221d0af3989788e50f9b5833424fb1321cf02b /source3
parent9b62cea7da6efe5fbc9df16b63ae721aa12acfe9 (diff)
downloadsamba-7329bd24f97688597d5c61dcf00fb39f302654fe.tar.gz
samba-7329bd24f97688597d5c61dcf00fb39f302654fe.tar.bz2
samba-7329bd24f97688597d5c61dcf00fb39f302654fe.zip
Fix winbindd msrpc_lookup_useraliases.
Guenther (This used to be commit e196e527ae47a75f6cac09b9f89aa5619047d4d2)
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_rpc.c b/source3/winbindd/winbindd_rpc.c
index edcdd5f049..fa9c1bc58d 100644
--- a/source3/winbindd/winbindd_rpc.c
+++ b/source3/winbindd/winbindd_rpc.c
@@ -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;
}