[tor/master] fix a memory leak

15 May
2017
15 May
'17
10:18 p.m.
commit 460b9230263f0af40c08d8e97f5f13aa69127bf6 Author: Nick Mathewson <nickm@torproject.org> Date: Mon May 15 18:13:20 2017 -0400 fix a memory leak --- src/or/consdiffmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c index 068f9c5..72a4f01 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) {
2953
Age (days ago)
2953
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org