s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)
authorChristian Ambach <ambi@samba.org>
Mon, 4 Jul 2011 15:55:54 +0000 (17:55 +0200)
committerChristian Ambach <ambi@samba.org>
Mon, 4 Jul 2011 18:00:26 +0000 (20:00 +0200)
commitad4a10dd059c8b33cf7d606af292dd6f6653f3ef
treef75a5c32c72878c6fad75e19efc90a94fcb80173
parent0bec150ab184903e17702e4d684d35d0d2c88010
s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)

when smbd tries to clean up locks after a premature end of a smb2
connection, lock_db has already been freed and so it crashes

this patch changes the order in which items are freed so that
lock_db is still around when it is needed

Jeremy, Metze, please check

Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Mon Jul  4 20:00:26 CEST 2011 on sn-devel-104
source3/smbd/server_exit.c