Files
u-boot/tools
Mikhail Ilin 4b95e8407e tools: fdtgrep: Fix handle leak
The handle "fd" was created in fdtgrep.c:708 by calling the
 "open" function and is lost in fdtgrep.c:716 and fdtgrep.c:723.
 Close file descriptor 'fd' before exiting with an error from function
 utilfdt_read_err_len(const char *filename, char **buffp, off_t *len).

Fixes: 1043d0a029 ("fdt: Add fdtgrep tool")
Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-12-08 09:29:02 -05:00
..
2022-12-06 15:30:30 -05:00
2022-09-12 18:06:36 -04:00
…
…
2022-04-19 14:51:11 -04:00
2019-07-29 00:20:31 +02:00
2021-01-13 02:38:00 +01:00
2022-12-08 09:29:02 -05:00
…
…
…
2022-01-19 18:11:34 +01:00
…
2022-12-08 09:25:44 -05:00
2022-01-28 17:58:41 -05:00
2022-07-26 11:29:02 +02:00
…
…
2022-01-19 18:11:34 +01:00
2019-11-04 18:15:32 -07:00
…