commit | 9bd56a602f6d5955d70a4b289773c37e16b373b6 | [log] [tgz] |
---|---|---|
author | Ye Li <ye.li@nxp.com> | Sun Aug 02 21:11:06 2020 -0700 |
committer | Stefano Babic <sbabic@denx.de> | Sat Jan 23 11:30:31 2021 +0100 |
tree | 9b4dae96eb26710937d1b8bc79b93ff5689258d6 | |
parent | 0c55e33efab96f0598d1377e2dc315e0a3d177e7 [diff] |
imx: nandbcb: Fix resource leak Fix Coverity Issue 9006655. In write_fcb, leak of memory to resource "fcb_raw_page". Since we have initialized the "ret" to 0, should return the value of ret. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>