diff options
author | Jeremy Allison <jra@samba.org> | 2010-06-10 13:17:35 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2010-06-10 13:17:35 -0700 |
commit | b5638a05601ce8206a85c2f3625f8894ed0e0a6f (patch) | |
tree | e8baf3ff8ceab674e54f5942784f2c8b70912484 /source3/smbd/server_exit.c | |
parent | 405a0c558c023a752e88e52b7e40048d3b7090c5 (diff) | |
download | samba-b5638a05601ce8206a85c2f3625f8894ed0e0a6f.tar.gz samba-b5638a05601ce8206a85c2f3625f8894ed0e0a6f.tar.bz2 samba-b5638a05601ce8206a85c2f3625f8894ed0e0a6f.zip |
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.
Diffstat (limited to 'source3/smbd/server_exit.c')
-rw-r--r-- | source3/smbd/server_exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/server_exit.c b/source3/smbd/server_exit.c index 868cd67b4f..3e0da3e1cf 100644 --- a/source3/smbd/server_exit.c +++ b/source3/smbd/server_exit.c @@ -121,6 +121,7 @@ static void exit_server_common(enum server_exit_reason how, TALLOC_FREE(smbd_server_conn); TALLOC_FREE(smbd_msg_ctx); TALLOC_FREE(smbd_event_ctx); + TALLOC_FREE(smbd_memcache_ctx); if (how != SERVER_EXIT_NORMAL) { int oldlevel = DEBUGLEVEL; |