summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 02:57:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:37 -0500
commit304a9eafd4382fc48085b9d00ca0520b637389aa (patch)
tree38631f3b723c0411236e56f4943f7ed9fdfbc571 /source4/smbd
parent3cf018b517de0afa006ac14d5185e3c95d8a923b (diff)
downloadsamba-304a9eafd4382fc48085b9d00ca0520b637389aa.tar.gz
samba-304a9eafd4382fc48085b9d00ca0520b637389aa.tar.bz2
samba-304a9eafd4382fc48085b9d00ca0520b637389aa.zip
r3181: shutdown the secrets db on exit so we don't constantly get talloc leak warnings
(This used to be commit 11713da2efc6d45c5594289efa0b6c0e594e6d2e)
Diffstat (limited to 'source4/smbd')
-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);
}