Skip to content
Snippets Groups Projects
Commit 52758119 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Fix a memory leak

It happened in dirvote_add_signatures_to_pending_consesus().
parent 4c49d3c2
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes
- Fix a memory leak in the error case of circuit_build_times_parse_state().
Bugfix on 0.2.2.14-alpha; fixes bug 1831 partially.
- Fix a memory leak in dirvote_add_signatures_to_pending_consensus().
Bugfix on 0.2.2.6-alpha; fixes bug 1831 partially.
......@@ -3008,6 +3008,7 @@ dirvote_add_signatures_to_pending_consensus(
networkstatus_vote_free(v);
}
*msg_out = "Signatures added";
tor_free(new_signatures);
} else if (r == 0) {
*msg_out = "Signatures ignored";
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment