diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-30 08:33:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-30 08:33:59 -0400 |
commit | ac9d08f66a3e5fd3fb3d456c4146b57c5ce1f1d6 (patch) | |
tree | 942abab1c2dcb5af24db7d10a7b8607c692ecf48 /src/feature/nodelist/networkstatus.c | |
parent | 811ed8cf9f58d8480244483f4ad012ea9dca42ef (diff) | |
parent | 6d59ab16a0aebf74b793c174f8e724b2fbcbbb64 (diff) | |
download | tor-ac9d08f66a3e5fd3fb3d456c4146b57c5ce1f1d6.tar.gz tor-ac9d08f66a3e5fd3fb3d456c4146b57c5ce1f1d6.zip |
Merge remote-tracking branch 'juga/ticket3723_03_squashed_rebased'
Diffstat (limited to 'src/feature/nodelist/networkstatus.c')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index f8623f826c..6492b828b1 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -385,6 +385,11 @@ networkstatus_vote_free_(networkstatus_t *ns) smartlist_free(ns->routerstatus_list); } + if (ns->bw_file_headers) { + SMARTLIST_FOREACH(ns->bw_file_headers, char *, c, tor_free(c)); + smartlist_free(ns->bw_file_headers); + } + digestmap_free(ns->desc_digest_map, NULL); if (ns->sr_info.commits) { |