Browse Source

fix a memory leak

Nick Mathewson 7 years ago
parent
commit
460b923026
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/consdiffmgr.c

+ 1 - 0
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) {