aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirauth_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature/dirauth/dirauth_sys.c')
-rw-r--r--src/feature/dirauth/dirauth_sys.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_sys.c b/src/feature/dirauth/dirauth_sys.c
index bb482f2685..e38d391300 100644
--- a/src/feature/dirauth/dirauth_sys.c
+++ b/src/feature/dirauth/dirauth_sys.c
@@ -6,9 +6,13 @@
#include "core/or/or.h"
+#include "feature/dirauth/bwauth.h"
#include "feature/dirauth/dirauth_sys.h"
#include "feature/dirauth/dirvote.h"
#include "feature/dirauth/dirauth_periodic.h"
+#include "feature/dirauth/keypin.h"
+#include "feature/dirauth/process_descs.h"
+
#include "lib/subsys/subsys.h"
static int
@@ -21,7 +25,10 @@ subsys_dirauth_initialize(void)
static void
subsys_dirauth_shutdown(void)
{
+ dirserv_free_fingerprint_list();
dirvote_free_all();
+ dirserv_clear_measured_bw_cache();
+ keypin_close_journal();
}
const struct subsys_fns_t sys_dirauth = {