Add missing frees to generate nonce test
Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
cf2d66e022
commit
16906f9011
1 changed files with 2 additions and 0 deletions
|
@ -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( );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue