mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-10 15:45:34 +00: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>