]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a memory leak; bug 17398.
authorNick Mathewson <nickm@torproject.org>
Wed, 21 Oct 2015 12:17:07 +0000 (08:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 21 Oct 2015 12:17:07 +0000 (08:17 -0400)
changes/bug17398 [new file with mode: 0644]
src/common/crypto_ed25519.c

diff --git a/changes/bug17398 b/changes/bug17398
new file mode 100644 (file)
index 0000000..66e27a6
--- /dev/null
@@ -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.
index 7e995f4616284bac4fc15b39be76fcbeef601f86..1749efc34c7adb525680a55a21013a85ecb89fda 100644 (file)
@@ -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);
   }