Fix leaked test buffer

Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
Paul Elliott 2021-09-20 09:42:21 +01:00
parent 6043e49039
commit 4a760882bb

View file

@ -4060,6 +4060,7 @@ exit:
psa_destroy_key( key );
mbedtls_free( ciphertext );
mbedtls_free( finish_ciphertext );
mbedtls_free( tag_buffer );
psa_aead_abort( &operation );
PSA_DONE( );
}