[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix memory leak in test_routerkeys
commit 72714270e20e7c9017881989dc0ba12fdc655edd
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Thu May 28 13:00:25 2015 -0400
Fix memory leak in test_routerkeys
CID 1301376
---
src/test/test_routerkeys.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/test_routerkeys.c b/src/test/test_routerkeys.c
index 26f9701..f0ac9ff 100644
--- a/src/test/test_routerkeys.c
+++ b/src/test/test_routerkeys.c
@@ -604,6 +604,8 @@ test_routerkeys_cross_certify_tap(void *args)
done:
tor_free(cc);
+ crypto_pk_free(id_key);
+ crypto_pk_free(onion_key);
}
#define TEST(name, flags) \
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits