mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 02:52:38 -04: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>