Browse Source

Fix a memory leak; bug 17398.

Nick Mathewson 8 years ago
parent
commit
542cc8a5ff
2 changed files with 4 additions and 0 deletions
  1. 3 0
      changes/bug17398
  2. 1 0
      src/common/crypto_ed25519.c

+ 3 - 0
changes/bug17398

@@ -0,0 +1,3 @@
+  o Minor bugfixes (memory leaks):
+    - Fix a memory leak in ed25519 batch signature checking.
+      Fixes bug 17398; bugfix on 0.2.6.1-alpha.

+ 1 - 0
src/common/crypto_ed25519.c

@@ -260,6 +260,7 @@ ed25519_checksig_batch(int *okay_out,
     tor_free(ms);
     tor_free(lens);
     tor_free(pks);
+    tor_free(sigs);
     if (! okay_out)
       tor_free(oks);
   }