mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Free bw_list_headers in networstatus_t
This commit is contained in:
parent
106eb08d27
commit
6d8bc12583
@ -385,6 +385,11 @@ networkstatus_vote_free_(networkstatus_t *ns)
|
|||||||
smartlist_free(ns->routerstatus_list);
|
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);
|
digestmap_free(ns->desc_digest_map, NULL);
|
||||||
|
|
||||||
if (ns->sr_info.commits) {
|
if (ns->sr_info.commits) {
|
||||||
|
Loading…
Reference in New Issue
Block a user