From a672c1ab2cf0e3b5dc244c0faecd107696b8ab99 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 31 May 2007 09:23:51 +0000 Subject: r23263: Remove an unused variable -- Fix Coverity ID 358 (This used to be commit c5929aa82b20e8a3877e6196c17bc9118cb399b0) --- source3/nsswitch/winbindd_ads.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3') 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); -- cgit