aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-25 14:37:49 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-25 14:37:49 +0000
commitd5a0eeb57e174cd7182137928fa05a291df7a780 (patch)
tree1a7836a9a562768417947e2a5e1770ecb9c3bcdb /src
parent73c1cfe80b85d31aeac1d596c17292f102363785 (diff)
downloadtor-d5a0eeb57e174cd7182137928fa05a291df7a780.tar
tor-d5a0eeb57e174cd7182137928fa05a291df7a780.tar.gz
r16157@catbus: nickm | 2007-10-25 10:36:34 -0400
Free v2_network_status_map on exit. svn:r12189
Diffstat (limited to 'src')
-rw-r--r--src/or/networkstatus.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index b8500d448..539f128ea 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1657,6 +1657,10 @@ networkstatus_free_all(void)
smartlist_free(networkstatus_v2_list);
networkstatus_v2_list = NULL;
}
+ if (v2_download_status_map) {
+ digestmap_free(v2_download_status_map, _tor_free);
+ v2_download_status_map = NULL;
+ }
if (current_consensus) {
networkstatus_vote_free(current_consensus);
current_consensus = NULL;