Don't use the autofree context for the globals. This causes child smbd's forked
authorJeremy Allison <jra@samba.org>
Thu, 10 Jun 2010 20:17:35 +0000 (13:17 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 10 Jun 2010 20:17:35 +0000 (13:17 -0700)
commitb5638a05601ce8206a85c2f3625f8894ed0e0a6f
treee8baf3ff8ceab674e54f5942784f2c8b70912484
parent405a0c558c023a752e88e52b7e40048d3b7090c5
Don't use the autofree context for the globals. This causes child smbd's forked
by modules to crash due to destructors being called (found when using the vfs_aio_fork
module with smb2).

Jeremy.
source3/smbd/globals.c
source3/smbd/server.c
source3/smbd/server_exit.c