From: Nick Mathewson Date: Mon, 16 May 2016 13:55:09 +0000 (-0400) Subject: Fix memory leak in test_crypto_aes_ctr_testvec X-Git-Tag: tor-0.2.9.1-alpha~237 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=249f3a1664479879dc9096034901614302398841;p=thirdparty%2Ftor.git Fix memory leak in test_crypto_aes_ctr_testvec --- diff --git a/src/test/test_crypto.c b/src/test/test_crypto.c index cba91584f5..52059451a2 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 */