Fix a memory leak; bug 17398.

This commit is contained in:
Nick Mathewson 2015-10-21 08:17:07 -04:00
parent 8378a3310a
commit 542cc8a5ff
2 changed files with 4 additions and 0 deletions

3
changes/bug17398 Normal file
View File

@ -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.

View 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);
}