summaryrefslogtreecommitdiff
path: root/source4/smbd/process_standard.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/smbd/process_standard.c')
-rw-r--r--source4/smbd/process_standard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/smbd/process_standard.c b/source4/smbd/process_standard.c
index d70cfa676b..98810af028 100644
--- a/source4/smbd/process_standard.c
+++ b/source4/smbd/process_standard.c
@@ -101,6 +101,9 @@ static void standard_terminate_connection(struct server_connection *conn, const
which makes leak checking easier */
init_iconv();
+ /* the secrets db should really hang off the connection structure */
+ secrets_shutdown();
+
/* terminate this process */
exit(0);
}