s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)
commit2c94ff10332f4be909a158329c41e2f5db035949
authorChristian Ambach <ambi@samba.org>
Mon, 4 Jul 2011 15:55:54 +0000 (4 17:55 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Jul 2011 17:39:18 +0000 (5 19:39 +0200)
treed6c161b46381a92ba06306e2cd6d55d5618f53a7
parent1c8690c82905ff55ed9eafd02df295edf79e7943
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
source3/smbd/server_exit.c