git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bade93e
)
r22511: Remove unused LDAPMessage.
author
Günther Deschner
<gd@samba.org>
Wed, 25 Apr 2007 10:01:21 +0000
(10:01 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:19:41 +0000
(12:19 -0500)
Guenther
source/nsswitch/winbindd_ads.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/winbindd_ads.c
b/source/nsswitch/winbindd_ads.c
index f189123d7dcfb879157a93743fe9c787aa5cd48c..01174edf37ee99f88461be241fd5b09aeb2a7f41 100644
(file)
--- a/
source/nsswitch/winbindd_ads.c
+++ b/
source/nsswitch/winbindd_ads.c
@@
-609,7
+609,6
@@
static NTSTATUS lookup_usergroups_memberof(struct winbindd_domain *domain,
{
ADS_STATUS rc;
NTSTATUS status = NT_STATUS_UNSUCCESSFUL;
- LDAPMessage *res = NULL;
ADS_STRUCT *ads;
const char *attrs[] = {"memberOf", NULL};
size_t num_groups = 0;
@@
-693,8
+692,6
@@
static NTSTATUS lookup_usergroups_memberof(struct winbindd_domain *domain,
DEBUG(3,("ads lookup_usergroups (memberof) succeeded for dn=%s\n", user_dn));
done:
TALLOC_FREE(group_sids);
- if (res)
- ads_msgfree(ads, res);
return status;
}