summaryrefslogtreecommitdiff
path: root/src/test/test_crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-16 09:55:09 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-16 09:55:09 -0400
commit249f3a1664479879dc9096034901614302398841 (patch)
tree6798b836737070d5dbb6b81550ae5af4957c938d /src/test/test_crypto.c
parent9abd7b8f90c6803e28529aa41c6da9601d1c9d01 (diff)
downloadtor-249f3a1664479879dc9096034901614302398841.tar.gz
tor-249f3a1664479879dc9096034901614302398841.zip
Fix memory leak in test_crypto_aes_ctr_testvec
Diffstat (limited to 'src/test/test_crypto.c')
-rw-r--r--src/test/test_crypto.c1
1 files changed, 1 insertions, 0 deletions
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 */