Browse Source

Fix memory leak in test_crypto_aes_ctr_testvec

Nick Mathewson 8 years ago
parent
commit
249f3a1664
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/test_crypto.c

+ 1 - 0
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 */