Mikhail Ilin f75e92f7f7 tools: imx8image: Fix handle leak
The handle "fd" was created in imx8image.c:249 by calling the "fopen"
 function and is lost in imx8image.c:282.
 Should close the 'fd' file descriptor before exiting the
 parse_cfg_file(image_t *param_stack, char *name) function.

Fixes: a2b96ece5be1 ("tools: add i.MX8/8X image support")
Signed-off-by: Mikhail Ilin <ilin.mikhail.ol@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-01-30 23:23:01 +01: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
2023-01-27 12:51:26 -05:00
2022-01-28 17:58:41 -05:00
2023-01-30 23:23:01 +01:00
2022-01-19 18:11:34 +01:00