Free v2_network_status_map on exit.
svn:r12189
Bugfix on 0.2.0.3-alpha.
- Stop leaking a signature every time we fail to parse a consensus or
a vote. Bugfix on 0.2.0.3-alpha.
+ - Stop leaking v2_download_status_map on shutdown. Bugfix on
+ 0.2.0.9-alpha.
Changes in version 0.2.0.9-alpha - 2007-10-24
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;