When tearing down the connection make sure we close all files before
authorJeremy Allison <jra@samba.org>
Fri, 7 May 2010 13:54:16 +0000 (06:54 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 7 May 2010 13:54:16 +0000 (06:54 -0700)
commit31b12622cf87dc6f7263550120973b6c56e17ba4
tree0ca1c8068f3970eef8e9d979171e89f43d3f7515
parentadf4833792f36653bc8a854aeff47598a046dad6
When tearing down the connection make sure we close all files before
freeing the global context, as we close access to the locking db
before freeing the global context.

Jeremy.
source3/smbd/conn.c
source3/smbd/smb2_tcon.c