diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 028dacc27e..aa85aca77e 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -954,6 +954,7 @@ extern void build_options(bool screen); POPT_COMMON_DYNCONFIG POPT_TABLEEND }; + TALLOC_CTX *frame = talloc_stackframe(); /* Setup tos. */ load_case_tables(); @@ -1231,7 +1232,7 @@ extern void build_options(bool screen); /* Setup oplocks */ if (!init_oplocks(smbd_messaging_context())) exit(1); - + /* Setup aio signal handler. */ initialize_async_io_handler(); @@ -1262,6 +1263,8 @@ extern void build_options(bool screen); exit(1); } + TALLOC_FREE(frame); + smbd_process(); namecache_shutdown(); |