From: Andrea Shepard Date: Tue, 5 Mar 2013 21:11:43 +0000 (-0800) Subject: Call dirserv_clear_measured_bw_cache() from dirserv_free_all() X-Git-Tag: tor-0.2.4.12-alpha~5^2~44^2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0efe96cae81a078301ba8806d821175c830627b9;p=thirdparty%2Ftor.git Call dirserv_clear_measured_bw_cache() from dirserv_free_all() --- 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(); }