diff options
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); } |