aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2013-03-05 13:11:43 -0800
committerAndrea Shepard <andrea@torproject.org>2013-03-05 13:11:43 -0800
commit0efe96cae81a078301ba8806d821175c830627b9 (patch)
treed3b7d00d2fe69f8e3700353fc45702c6e421d9f2 /src/or
parentb5a164bde4f33fdd33c83a8425c6464c0f5ef60d (diff)
downloadtor-0efe96cae81a078301ba8806d821175c830627b9.tar.gz
tor-0efe96cae81a078301ba8806d821175c830627b9.zip
Call dirserv_clear_measured_bw_cache() from dirserv_free_all()
Diffstat (limited to 'src/or')
-rw-r--r--src/or/dirserv.c2
1 files changed, 2 insertions, 0 deletions
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();
}