s3:share_mode_lock: add missing 'goto done' in share_mode_cleanup_disconnected()
authorStefan Metzmacher <metze@samba.org>
Fri, 28 Aug 2020 13:56:35 +0000 (15:56 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 31 Aug 2020 11:57:01 +0000 (11:57 +0000)
commit1aa1ac97082f81f6dc62f345823d2dd345e0afd7
treed8f8f7f6db16260b22a345b6c336600386d3c906
parent4d740ac2084a68c6d4836cd83ea5d5f1ee9d37a2
s3:share_mode_lock: add missing 'goto done' in share_mode_cleanup_disconnected()

When cleanup_disconnected_lease() fails we should stop,
at least we do that if brl_cleanup_disconnected() fails.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/locking/share_mode_lock.c