summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-10-15 23:15:24 +0000
committerNick Mathewson <nickm@torproject.org>2007-10-15 23:15:24 +0000
commit3ad6dc0e2e91e094e082e767c71e6e1d91f5fca0 (patch)
treee0a42cb1c2dbd0f12509c7aad3292182c4c27887 /src/or/dirvote.c
parent95f6265a790a1a56ff284bbc8eb55e56583dada3 (diff)
downloadtor-3ad6dc0e2e91e094e082e767c71e6e1d91f5fca0.tar.gz
tor-3ad6dc0e2e91e094e082e767c71e6e1d91f5fca0.zip
r15806@catbus: nickm | 2007-10-15 19:14:57 -0400
Implement v3 networkstatus client code. Remove v2 networkstatus client code, except as needed for caches to fetch and serve v2 networkstatues and the routers they list. svn:r11957
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 7e131ef463..29efcb5083 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -67,6 +67,8 @@ networkstatus_vote_free(networkstatus_vote_t *ns)
smartlist_free(ns->routerstatus_list);
}
+ if (ns->desc_digest_map)
+ digestmap_free(ns->desc_digest_map, NULL);
memset(ns, 11, sizeof(*ns));
tor_free(ns);