diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-10 15:55:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:45 -0500 |
commit | 8371c0e44c91ed963493664daf93cdc9b467a8e8 (patch) | |
tree | 6fdface1533b8ac56d0aa83bf4f57f23247105bd /source3/nsswitch | |
parent | 3e8809cb4c92d326acf07b73fc9140cb2effceaa (diff) | |
download | samba-8371c0e44c91ed963493664daf93cdc9b467a8e8.tar.gz samba-8371c0e44c91ed963493664daf93cdc9b467a8e8.tar.bz2 samba-8371c0e44c91ed963493664daf93cdc9b467a8e8.zip |
r19656: Correctly check for malloc failure
(This used to be commit 3d0661b0393804707eb42d9ee9377a622333f252)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 943d69e882..7490a73195 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -839,7 +839,7 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain, } *p_num_groups = (uint32)num_groups; - status = (user_sids != NULL) ? NT_STATUS_OK : NT_STATUS_NO_MEMORY; + status = (*user_sids != NULL) ? NT_STATUS_OK : NT_STATUS_NO_MEMORY; DEBUG(3,("ads lookup_usergroups (tokenGroups) succeeded for sid=%s\n", sid_to_string(sid_string, sid))); |