mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
winbind: Fix a memleak
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14388 Signed-off-by: Laurent Menase <laurent.menase@hpe.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Noel Power <noel.power@suse.com> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Sep 14 13:33:13 UTC 2020 on sn-devel-184 (cherry picked from commit 8f868b0ea0b4795668f7bc0b028cd85686b249fb) Autobuild-User(v4-12-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-12-test): Fri Sep 25 11:15:08 UTC 2020 on sn-devel-184
This commit is contained in:
parent
ba63dd8867
commit
3af0ca2ee9
@ -405,6 +405,7 @@ static NTSTATUS query_user_list(struct winbindd_domain *domain,
|
||||
DBG_NOTICE("ads query_user_list gave %d entries\n", count);
|
||||
|
||||
done:
|
||||
ads_msgfree(ads, res);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user