Add missing frees to generate nonce test

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-06-24 09:57:01 +01:00
parent cf2d66e022
commit 16906f9011

View file

@ -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( );
}