Explorar el Código

fix a memory leak

Nick Mathewson hace 7 años
padre
commit
460b923026
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {