commit | 295e07deb4f934d2723415a316eb6c00d4447cab | [log] [tgz] |
---|---|---|
author | Kshitiz Varshney <kshitiz.varshney@nxp.com> | Sun Aug 01 14:31:45 2021 +0200 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Wed Aug 18 15:55:15 2021 +0530 |
tree | ce78a1d99075c5811ce0c0ef86176f714b05f935 | |
parent | a1fe568d2e5875d62526785f33c689a9676e2124 [diff] |
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: Kshitiz Varshney <kshitiz.varshney@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>