commit | 0dfa9da277a4556f9e7faa0101c7694fe2b78733 | [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 | 6466b95e7c94a48d8f8093b0a765fd51ab6e84ae [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>