diff options
author | Volker Lendecke <vl@samba.org> | 2010-09-27 05:50:22 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-09-28 07:36:18 +0200 |
commit | d26d79b6401783449ca7d38005a59938325d1995 (patch) | |
tree | 2d72f12574484d1aab2862efeb3d1e85ccf0a8e0 /source3/smbd/server.c | |
parent | eadc4b5b780ffdb99b7d4b48592af6c72f682bf8 (diff) | |
download | samba-d26d79b6401783449ca7d38005a59938325d1995.tar.gz samba-d26d79b6401783449ca7d38005a59938325d1995.tar.xz samba-d26d79b6401783449ca7d38005a59938325d1995.zip |
s3: Remove talloc_autofree_context() from files.c
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r-- | source3/smbd/server.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 6cc7907cbbf..ff59b3dbafb 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -794,8 +794,6 @@ static bool init_structs(void ) if (!init_names()) return False; - file_init(); - if (!secrets_init()) return False; @@ -1168,6 +1166,11 @@ extern void build_options(bool screen); return -1; } + if (!file_init(smbd_server_conn)) { + DEBUG(0, ("ERROR: file_init failed\n")); + return -1; + } + /* * Initialize spoolss with an init function to convert printers first. * static_init_rpc will try to initialize the spoolss server too but you |