From 16906f9011da64a32e20d80cf2b3571148ad87ac Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Thu, 24 Jun 2021 09:57:01 +0100 Subject: [PATCH] Add missing frees to generate nonce test Signed-off-by: Paul Elliott --- tests/suites/test_suite_psa_crypto.function | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/suites/test_suite_psa_crypto.function b/tests/suites/test_suite_psa_crypto.function index bb4d7e6119..819c61b52a 100644 --- a/tests/suites/test_suite_psa_crypto.function +++ b/tests/suites/test_suite_psa_crypto.function @@ -3782,6 +3782,8 @@ void aead_multipart_generate_nonce( int key_type_arg, data_t *key_data, exit: psa_destroy_key( key ); + mbedtls_free( output_data ); + mbedtls_free( final_data ); psa_aead_abort( &operation ); PSA_DONE( ); }