mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-02 13:21: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…
Reference in a new issue