From 0efe96cae81a078301ba8806d821175c830627b9 Mon Sep 17 00:00:00 2001 From: Andrea Shepard Date: Tue, 5 Mar 2013 13:11:43 -0800 Subject: [PATCH] Call dirserv_clear_measured_bw_cache() from dirserv_free_all() --- src/or/dirserv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 1c78d2d3bc..b3a5177eee 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -4098,5 +4098,7 @@ dirserv_free_all(void) cached_v2_networkstatus = NULL; strmap_free(cached_consensuses, free_cached_dir_); cached_consensuses = NULL; + + dirserv_clear_measured_bw_cache(); }