[tor-commits] [tor/master] Call dirserv_clear_measured_bw_cache() from dirserv_free_all()

nickm at torproject.org nickm at torproject.org
Mon Mar 18 19:19:01 UTC 2013


commit 0efe96cae81a078301ba8806d821175c830627b9
Author: Andrea Shepard <andrea at torproject.org>
Date:   Tue Mar 5 13:11:43 2013 -0800

    Call dirserv_clear_measured_bw_cache() from dirserv_free_all()
---
 src/or/dirserv.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 1c78d2d..b3a5177 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();
 }
 





More information about the tor-commits mailing list