summaryrefslogtreecommitdiff
path: root/source4/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source4/passdb')
-rw-r--r--source4/passdb/secrets.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/passdb/secrets.c b/source4/passdb/secrets.c
index add3845d75..d13e61223d 100644
--- a/source4/passdb/secrets.c
+++ b/source4/passdb/secrets.c
@@ -45,6 +45,12 @@ static void get_rand_seed(int *new_seed)
}
}
+/* close the secrets database */
+void secrets_shutdown(void)
+{
+ talloc_free(tdb);
+}
+
/* open up the secrets database */
BOOL secrets_init(void)
{