nsswitch/wb_common.c: winbind_destructor can always use get_wb_global_ctx()
authorStefan Metzmacher <metze@samba.org>
Fri, 8 Sep 2023 07:53:42 +0000 (09:53 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 14 Sep 2023 17:56:30 +0000 (17:56 +0000)
commit836823e5047d0eb18e66707386ba03b812adfaf8
tree52b166839963ea726cc792bb0fcaf060bd784b50
parent4faf806412c4408db25448b1f67c09359ec2f81f
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>
nsswitch/wb_common.c