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:
parent
bd90573fbb
commit
c5929aa82b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user