diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-08-24 12:51:33 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-10-15 15:17:13 -0400 |
commit | e1ddee8bbe724e934fe9a4cb2d290719a7d6105c (patch) | |
tree | 82848930764ba4b86637f15a25b557fc6805f31a /src/or/networkstatus.c | |
parent | a8e92ba8fd65e12dbec265ccfcf0c89ac61847f2 (diff) | |
download | tor-e1ddee8bbe724e934fe9a4cb2d290719a7d6105c.tar.gz tor-e1ddee8bbe724e934fe9a4cb2d290719a7d6105c.zip |
Code to generate, store, and parse microdescriptors and consensuses.
The consensus documents are not signed properly, not served, and not
exchanged yet.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 5d1f8b24a3..752cb42124 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -242,8 +242,14 @@ router_reload_consensus_networkstatus(void) static void vote_routerstatus_free(vote_routerstatus_t *rs) { + vote_microdesc_hash_t *h, *next; tor_free(rs->version); tor_free(rs->status.exitsummary); + for (h = rs->microdesc; h; h = next) { + tor_free(h->microdesc_hash_line); + next = h->next; + tor_free(h); + } tor_free(rs); } |