]> git.ipfire.org Git - thirdparty/u-boot.git/commit
board: freescale: Fix error handling in ls1088a board setup
authorFrancois Berder <fberder@outlook.fr>
Sat, 22 Nov 2025 12:26:07 +0000 (13:26 +0100)
committerPeng Fan <peng.fan@nxp.com>
Thu, 11 Dec 2025 10:42:21 +0000 (18:42 +0800)
commite672d4a472279477d7f0c3c2c17721f12eb09158
tree77f3c2dbf88dda15d9495abe107564c3bc5bb912
parenta23a1e8ca53cd37216f3f5e0ea530e3645ec6f2f
board: freescale: Fix error handling in ls1088a board setup

 - Add missing checks after calloc
 - Fix memory leak when handling calloc failure

Signed-off-by: Francois Berder <fberder@outlook.fr>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
board/freescale/ls1088a/ls1088a.c