mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 00:40:09 +00:00
Fix a memory leak in a test
This commit is contained in:
parent
b7ecdf0509
commit
1d7c082124
@ -1684,6 +1684,7 @@ void derive_key_policy( int policy_usage,
|
||||
TEST_ASSERT( status == PSA_ERROR_NOT_PERMITTED );
|
||||
|
||||
exit:
|
||||
mbedtls_free( public_key );
|
||||
psa_generator_abort( &generator );
|
||||
psa_destroy_key( key_slot );
|
||||
mbedtls_psa_crypto_free( );
|
||||
|
Loading…
x
Reference in New Issue
Block a user