s3:rpc_server/mdssvc: don't crash mdssvc_tracker_shutdown with NULL glue
commit91f1567cdcaed3a8f8faf4e77616553308a5f8eb
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Jan 2023 22:48:11 +0000 (11 23:48 +0100)
committerJeremy Allison <jra@samba.org>
Thu, 19 Jan 2023 19:46:01 +0000 (19 19:46 +0000)
tree4aa2f69e48ba2320fce8ee7934b1b0d4572dc8f4
parent370b777202bbd9730209a3e18de102b4f163f18d
s3:rpc_server/mdssvc: don't crash mdssvc_tracker_shutdown with NULL glue

If mdssvc_tracker_shutdown() is called without any mds_tracker_connect()
we would crash as mdssvc_tracker_init() don't call
mdssvc_tracker_prepare().

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jan 19 19:46:01 UTC 2023 on atb-devel-224
source3/rpc_server/mdssvc/mdssvc_tracker.c