summaryrefslogtreecommitdiffstats
path: root/tools/img2brec.sh
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-06-12 00:04:58 -0600
committerTom Rini <trini@konsulko.com>2018-06-19 07:31:43 -0400
commite178db1d7736a92951fdc7f1fd9b8ecf4d2877ba (patch)
tree13dcbc415e233868834eb2ba55ae20d18f497a00 /tools/img2brec.sh
parentaf880e247d502844e01219995cbdbee4b3e6d204 (diff)
downloadu-boot-e178db1d7736a92951fdc7f1fd9b8ecf4d2877ba.tar.gz
u-boot-e178db1d7736a92951fdc7f1fd9b8ecf4d2877ba.tar.xz
u-boot-e178db1d7736a92951fdc7f1fd9b8ecf4d2877ba.zip
fdtgrep: Fix logic of free() in do_fdtgrep()
This loop never actually exits, but the way the code is written this is not obvious. Add an explicit error check. Reported-by: Coverity (CID: 131280) Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Add explicit init of region to NULL per LLVM warning] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/img2brec.sh')
0 files changed, 0 insertions, 0 deletions