diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-15 18:13:20 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-15 18:13:20 -0400 |
commit | 460b9230263f0af40c08d8e97f5f13aa69127bf6 (patch) | |
tree | 286ea16f7d4b7fc60eee1d9ebd30073f5d97140d /src/or/consdiffmgr.c | |
parent | 6e2eb0afdb34955583ed231058adbe06c4625b0f (diff) | |
download | tor-460b9230263f0af40c08d8e97f5f13aa69127bf6.tar.gz tor-460b9230263f0af40c08d8e97f5f13aa69127bf6.zip |
fix a memory leak
Diffstat (limited to 'src/or/consdiffmgr.c')
-rw-r--r-- | src/or/consdiffmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c index 068f9c5ea7..72a4f01dd8 100644 --- 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) { |