1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

fixed another leak - memory usage now seems to be quite small

(This used to be commit a45e396859)
This commit is contained in:
Andrew Tridgell 2001-12-05 07:11:26 +00:00
parent a313351e94
commit cb01c8e192

View File

@ -461,6 +461,8 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
user_dn = ads_pull_string(ads, mem_ctx, msg, "distinguishedName");
if (msg) ads_msgfree(ads, msg);
rc = ads_search_dn(ads, &msg, user_dn, attrs2);
if (rc) {
DEBUG(1,("lookup_usergroups(rid=%d) ads_search tokenGroups: %s\n", user_rid, ads_errstr(rc)));