Explorar o código

Call dirserv_clear_measured_bw_cache() from dirserv_free_all()

Andrea Shepard %!s(int64=12) %!d(string=hai) anos
pai
achega
0efe96cae8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/or/dirserv.c

+ 2 - 0
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();
 }