nsswitch/wb_common.c: winbind_destructor can always use get_wb_global_ctx()
commit9c10f828dfbf44ec09a2ddf9d98bc5248bf5cf22
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Sep 2023 07:53:42 +0000 (8 09:53 +0200)
committerJule Anger <janger@samba.org>
Mon, 18 Sep 2023 15:59:16 +0000 (18 15:59 +0000)
treed5ff33545dd5f642988d2380559ffdbe1ea2706b
parent61f6f46b26b5207fb411c2d4d4734c3fed0f88a7
nsswitch/wb_common.c: winbind_destructor can always use get_wb_global_ctx()

The HAVE_PTHREAD logic inside of get_wb_global_ctx() will do all
required magic.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15464

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 836823e5047d0eb18e66707386ba03b812adfaf8)
nsswitch/wb_common.c