diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-15 14:19:52 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-15 14:19:52 -0800 |
commit | 68be9a820059ee96dd26c527efd7c14e679d3f2c (patch) | |
tree | c3c853a01013fc7977ab02a31e673fe17b4135e6 /source3/smbd | |
parent | 8e1b0f81c27dc332560f19de27fb86ac96c59775 (diff) | |
download | samba-68be9a820059ee96dd26c527efd7c14e679d3f2c.tar.gz samba-68be9a820059ee96dd26c527efd7c14e679d3f2c.tar.bz2 samba-68be9a820059ee96dd26c527efd7c14e679d3f2c.zip |
More pstring removal. This one was tricky. I had to add
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
(This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
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(); |