diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-11-10 15:56:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:45 -0500 |
commit | bf6bb749851ec757ee2e110597f2c492acc28f5c (patch) | |
tree | 8c3a7f1d4bb3077840e48fa16d7c3faafc5ffe9d | |
parent | 8371c0e44c91ed963493664daf93cdc9b467a8e8 (diff) | |
download | samba-bf6bb749851ec757ee2e110597f2c492acc28f5c.tar.gz samba-bf6bb749851ec757ee2e110597f2c492acc28f5c.tar.bz2 samba-bf6bb749851ec757ee2e110597f2c492acc28f5c.zip |
r19657: Correctly check for malloc failure
(This used to be commit e5b5c9b058b7f2a6188684019ffe42e497ac6b6c)
-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 7490a73195..7f5d098c45 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -700,7 +700,7 @@ static NTSTATUS lookup_usergroups_memberof(struct winbindd_domain *domain, } *p_num_groups = 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 (memberof) succeeded for dn=%s\n", user_dn)); done: |