From 304a9eafd4382fc48085b9d00ca0520b637389aa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 25 Oct 2004 02:57:20 +0000 Subject: r3181: shutdown the secrets db on exit so we don't constantly get talloc leak warnings (This used to be commit 11713da2efc6d45c5594289efa0b6c0e594e6d2e) --- source4/smbd/process_standard.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/smbd/process_standard.c') 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); } -- cgit