1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r23263: Remove an unused variable -- Fix Coverity ID 358

This commit is contained in:
Volker Lendecke 2007-05-31 09:23:51 +00:00 committed by Gerald (Jerry) Carter
parent bd90573fbb
commit c5929aa82b

View File

@ -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);