From f2617c6b7903085c50cd5194d7c1b8f764e870f4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 29 Oct 2005 05:01:12 +0000 Subject: [PATCH] Free the v2 directory networkstatus on exit. (Not a leak.) svn:r5330 --- src/or/dirserv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/dirserv.c b/src/or/dirserv.c index c2a3679383..5b98140937 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -1504,6 +1504,7 @@ dirserv_free_all(void) addr_policy_free(authdir_invalid_policy); clear_cached_dir(&the_directory); clear_cached_dir(&the_runningrouters); + clear_cached_dir(&the_v2_networkstatus); clear_cached_dir(&cached_directory); clear_cached_dir(&cached_runningrouters); if (cached_v2_networkstatus) {