aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-30 08:33:59 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-30 08:33:59 -0400
commitac9d08f66a3e5fd3fb3d456c4146b57c5ce1f1d6 (patch)
tree942abab1c2dcb5af24db7d10a7b8607c692ecf48 /src/feature/nodelist/networkstatus.c
parent811ed8cf9f58d8480244483f4ad012ea9dca42ef (diff)
parent6d59ab16a0aebf74b793c174f8e724b2fbcbbb64 (diff)
downloadtor-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.c5
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) {