[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/maint-0.2.4] Call dirserv_clear_measured_bw_cache() from dirserv_free_all()
commit 0efe96cae81a078301ba8806d821175c830627b9
Author: Andrea Shepard <andrea@xxxxxxxxxxxxxx>
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();
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits