[PATCH] tools: imx8mimage: Fix handle leak

2023-01-31 Thread sbabic
> The handle "fd" was created in imx8mimage.c:178 by calling > the "fopen" function and is lost in imx8mimage.c:210. > Should close the 'fd' file descriptor before exiting > the parse_cfg_file(char *name) function. > Fixes: 6609c2663c9c ("tools: add i.MX8M image support") > Signed-off-by: Mikhai

[PATCH] tools: imx8mimage: Fix handle leak

2022-11-23 Thread Mikhail Ilin
The handle "fd" was created in imx8mimage.c:178 by calling the "fopen" function and is lost in imx8mimage.c:210. Should close the 'fd' file descriptor before exiting the parse_cfg_file(char *name) function. Fixes: 6609c2663c9c ("tools: add i.MX8M image support") Signed-off-by: Mikhail Ilin --