s3:locking: let share_mode_forall_entries() call TALLOC_FREE(ltdb)
authorStefan Metzmacher <metze@samba.org>
Sat, 3 Sep 2022 23:35:06 +0000 (23:35 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 20 Sep 2022 00:34:35 +0000 (00:34 +0000)
commitdb78fe13a37d7143f622d8f2e710f2ebd2d97abc
treee89be7d8ee47cc019178db601e030a5e0fb188e2
parent703a4ff525655c6f99ac24351be7eb898d4ded28
s3:locking: let share_mode_forall_entries() call TALLOC_FREE(ltdb)

We should free ltdb as soon as possible...

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c