diff options
| author | Simon Glass <[email protected]> | 2018-06-12 00:04:58 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-06-19 07:31:43 -0400 |
| commit | e178db1d7736a92951fdc7f1fd9b8ecf4d2877ba (patch) | |
| tree | 13dcbc415e233868834eb2ba55ae20d18f497a00 /include | |
| parent | af880e247d502844e01219995cbdbee4b3e6d204 (diff) | |
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 <[email protected]>
[trini: Add explicit init of region to NULL per LLVM warning]
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
