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.
+ - Fix a memory leak in dirvote_compute_consensuses().
+ Bugfix on 0.2.0.3-alpha; fixes bug 1831 partially.
+
strlen(pending_consensus_signatures), 0);
log_notice(LD_DIR, "Signature(s) posted.");
+ smartlist_free(votes);
return 0;
err:
smartlist_free(votes);
dirvote_free_all(void)
{
dirvote_clear_votes(1);
- /* now empty as a result of clear_pending_votes. */
+ /* now empty as a result of dirvote_clear_votes(). */
smartlist_free(pending_vote_list);
pending_vote_list = NULL;
smartlist_free(previous_vote_list);
dirvote_clear_pending_consensuses();
tor_free(pending_consensus_signatures);
if (pending_consensus_signature_list) {
- /* now empty as a result of clear_pending_votes. */
+ /* now empty as a result of dirvote_clear_votes(). */
smartlist_free(pending_consensus_signature_list);
pending_consensus_signature_list = NULL;
}