Free bw_list_headers in networstatus_t

This commit is contained in:
juga0 2018-06-29 13:45:06 +00:00
parent 106eb08d27
commit 6d8bc12583

View File

@ -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) {