summaryrefslogtreecommitdiff
path: root/python/samba
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2021-08-25 09:41:11 +1200
committerJule Anger <janger@samba.org>2021-09-08 12:32:11 +0000
commit86d3397f852e4e6e5fa5096d91c4263e26742d0f (patch)
tree1f7d2d2f97b4eebafb2359685f18060a45e68233 /python/samba
parentd18232cdcfc48ed7b03e831bb28ff57140fe5f9a (diff)
downloadsamba-86d3397f852e4e6e5fa5096d91c4263e26742d0f.tar.gz
dsdb: Be careful to avoid use of the expensive talloc_is_parent()
The wrong talloc API was selected while addressing a memory leak. commit ee2fe56ba0ef6626b634376e8dc2185aa89f8c99 Author: Aaron Haslett <aaronhaslett@catalyst.net.nz> Date: Tue Nov 27 11:07:44 2018 +1300 drepl: memory leak fix Fixes a memory leak where schema reference attached to ldb instance is lost before it can be freed. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14042 Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Wed Jul 17 06:17:10 UTC 2019 on sn-devel-184 By using talloc_get_parent() walking the entire talloc tree is avoided. RN: Address a signifcant performance regression in database access in the AD DC since Samba 4.12 BUG: https://bugzilla.samba.org/show_bug.cgi?id=14806 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 8affe4a1e625104de4ca024fdc3e9cd96498aff3)
Diffstat (limited to 'python/samba')
0 files changed, 0 insertions, 0 deletions