mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-26 21:35:35 +00:00
45916ba916
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>