diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index a62a436f78..2dcd1284b3 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -898,7 +898,6 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, uint32 **name_types) { ADS_STATUS rc; - LDAPMessage *res=NULL; ADS_STRUCT *ads = NULL; char *ldap_exp; NTSTATUS status = NT_STATUS_UNSUCCESSFUL; @@ -1081,9 +1080,6 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain, done: - if (res) - ads_msgfree(ads, res); - /* free intermediate lists. - a temp talloc ctx might be better. */ TALLOC_FREE(sid_mem_nocache); TALLOC_FREE(names_nocache); |