mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-27 05:53:49 +02:00
Initialize variables to NULL before doing any operations that might fail. This fixes a case where the allocation fails on the first context, which previously made the code free the second, uninitialized context. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>