Skip to content
Commit 0dfa9da2 authored by Kshitiz Varshney's avatar Kshitiz Varshney Committed by Priyanka Jain
Browse files

board: fsl_validate: Fix resource leak issue



Free dynamically allocated memory before every return statement
in calc_img_key_hash() and calc_esbchdr_esbc_hash() function.
Verified the secure boot changes using ls1046afrwy board.

Signed-off-by: default avatarKshitiz Varshney <kshitiz.varshney@nxp.com>
Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
parent 6466b95e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment