diff options
author | Günther Deschner <gd@samba.org> | 2008-02-08 10:59:31 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-08 10:59:31 +0100 |
commit | 7329bd24f97688597d5c61dcf00fb39f302654fe (patch) | |
tree | 02221d0af3989788e50f9b5833424fb1321cf02b /source3/winbindd | |
parent | 9b62cea7da6efe5fbc9df16b63ae721aa12acfe9 (diff) | |
download | samba-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/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_rpc.c | 2 |
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; } |