[tor-commits] [tor/master] Fix memory leak in test_crypto_aes_ctr_testvec

nickm at torproject.org nickm at torproject.org
Mon May 16 13:55:13 UTC 2016


commit 249f3a1664479879dc9096034901614302398841
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon May 16 09:55:09 2016 -0400

    Fix memory leak in test_crypto_aes_ctr_testvec
---
 src/test/test_crypto.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c
index cba9158..5205945 100644
--- a/src/test/test_crypto.c
+++ b/src/test/test_crypto.c
@@ -548,6 +548,7 @@ test_crypto_aes_ctr_testvec(void *arg)
 
  done:
   tor_free(mem_op_hex_tmp);
+  crypto_cipher_free(c);
 }
 
 /** Run unit tests for our SHA-1 functionality */



More information about the tor-commits mailing list