[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fix a memory leak
commit 460b9230263f0af40c08d8e97f5f13aa69127bf6
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits