From 309c798b2b39792173c043c1dd901aec070fe82f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 17 Nov 2014 11:56:08 +0100 Subject: [PATCH] Fix memory leak in PKCS#5 test suite --- tests/suites/test_suite_pkcs5.function | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/suites/test_suite_pkcs5.function b/tests/suites/test_suite_pkcs5.function index 2874c0886..95c4b1169 100644 --- a/tests/suites/test_suite_pkcs5.function +++ b/tests/suites/test_suite_pkcs5.function @@ -35,5 +35,7 @@ pbkdf2_hmac:hash:hex_password_string:hex_salt_string:it_cnt:key_len:result_key_s hexify( dst_str, key, {key_len} ); TEST_ASSERT( strcmp( (char *) dst_str, {result_key_string} ) == 0 ); + + md_free_ctx( &ctx ); } END_CASE