mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
r16157@catbus: nickm | 2007-10-25 10:36:34 -0400
Free v2_network_status_map on exit. svn:r12189
This commit is contained in:
@@ -1657,6 +1657,10 @@ networkstatus_free_all(void)
|
||||
smartlist_free(networkstatus_v2_list);
|
||||
networkstatus_v2_list = NULL;
|
||||
}
|
||||
if (v2_download_status_map) {
|
||||
digestmap_free(v2_download_status_map, _tor_free);
|
||||
v2_download_status_map = NULL;
|
||||
}
|
||||
if (current_consensus) {
|
||||
networkstatus_vote_free(current_consensus);
|
||||
current_consensus = NULL;
|
||||
|
||||
Reference in New Issue
Block a user