Created attachment 15120 [details] ASAN error report Use after free error in wbcLogonUserInfoDestructor detected by ASAN. wbcFreeMemory has code to detect and prevent a double free. This involves inspecting the referenced memory, which triggers an ASAN error. Value needs to be set to NULL after it's freed.
Created attachment 15121 [details] Proposed patch for master.
Fix committed to master commit 193b44466ba05deba8f2b1fdc16ab55c102e82ad
Re-opening as it shoud be backported to V4.10
Created attachment 15151 [details] Proposed patch for V4.10 CI: https://gitlab.com/samba-team/devel/samba/pipelines/61329324
Pushed to autobuild-v4-10-test.
(In reply to Karolin Seeger from comment #5) Pushed to v4-10-test. Closing out bug report. Thanks!