summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-05-31 09:23:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:01 -0500
commita672c1ab2cf0e3b5dc244c0faecd107696b8ab99 (patch)
tree27a1d89bc9e0e83c13ee3079d44cab7c17952a20 /source3/nsswitch
parent159938d734eebe2672652d69ab7cd68d1c1109c0 (diff)
downloadsamba-a672c1ab2cf0e3b5dc244c0faecd107696b8ab99.tar.gz
samba-a672c1ab2cf0e3b5dc244c0faecd107696b8ab99.tar.bz2
samba-a672c1ab2cf0e3b5dc244c0faecd107696b8ab99.zip
r23263: Remove an unused variable -- Fix Coverity ID 358
(This used to be commit c5929aa82b20e8a3877e6196c17bc9118cb399b0)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_ads.c4
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);