From c43481aa82e5477626683342066d9e8173996b80 Mon Sep 17 00:00:00 2001
From: Paul Bakker
Date: Sun, 20 Feb 2011 16:34:26 +0000
Subject: [PATCH] - Release memory used
---
tests/suites/test_suite_dhm.function | 3 +++
1 file changed, 3 insertions(+)
diff --git a/tests/suites/test_suite_dhm.function b/tests/suites/test_suite_dhm.function
index c7c2b8c55..652b15b08 100644
--- a/tests/suites/test_suite_dhm.function
+++ b/tests/suites/test_suite_dhm.function
@@ -54,5 +54,8 @@ dhm_do_dhm:x_size:radix_P:input_P:radix_G:input_G
TEST_ASSERT( sec_srv_len == sec_cli_len );
TEST_ASSERT( sec_srv_len != 0 );
TEST_ASSERT( memcmp( sec_srv, sec_cli, sec_srv_len ) == 0 );
+
+ dhm_free( &ctx_srv );
+ dhm_free( &ctx_cli );
}
END_CASE