tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 460b9230263f0af40c08d8e97f5f13aa69127bf6
parent 6e2eb0afdb34955583ed231058adbe06c4625b0f
Author: Nick Mathewson <nickm@torproject.org>
Date:   Mon, 15 May 2017 18:13:20 -0400

fix a memory leak

Diffstat:
Msrc/or/consdiffmgr.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c @@ -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) {