소스 검색

Fix memory leak in test_crypto_aes_ctr_testvec

Nick Mathewson 8 년 전
부모
커밋
249f3a1664
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 */