mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-29 14:57:27 +02:00
psa_crypto_init can fail, and if it does we'll try calling free() on the local variable, which is uninitialized. This commit fixes memory corruption when a test fails. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>