fix a memory leak

This commit is contained in:
Nick Mathewson 2017-05-15 18:13:20 -04:00
parent 6e2eb0afdb
commit 460b923026

View File

@ -1758,6 +1758,7 @@ consensus_queue_compression_work(const char *consensus,
config_line_prepend(&job->labels_in, LABEL_SIGNATORIES, signers);
tor_free(signers);
SMARTLIST_FOREACH(hexvoters, char *, cp, tor_free(cp));
smartlist_free(hexvoters);
}
if (background_compression) {