commit 460b9230263f0af40c08d8e97f5f13aa69127bf6
Author: Nick Mathewson <[email protected]>
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) {



_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to