smbXsrv_tcon: explicitly set tcon->db_rec = NULL after tcon->db_rec = local_rec
authorStefan Metzmacher <metze@samba.org>
Wed, 23 Sep 2020 09:24:46 +0000 (11:24 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 6 Mar 2021 02:20:05 +0000 (02:20 +0000)
commit253a4de82bd4e44586572b71e06762c3f6dbd795
tree31f6a272b4844b11f88c3ddaa02d97ac4bf9dbd8
parent2cf1628419f5035107d1be6d7ab1bf6533bad7a2
smbXsrv_tcon: explicitly set tcon->db_rec = NULL after tcon->db_rec = local_rec

There's no know problem that we fix for the
smbXsrv_tcon_disconnect_all_callback() case,
but it might prevent future problems.

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

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