[PATCH] tools: imx8image: Fix handle leak

2023-01-31 Thread sbabic
> 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") >

Re: [PATCH] tools: imx8image: Fix handle leak

2022-11-24 Thread Simon Glass
On Wed, 23 Nov 2022 at 04:00, Mikhail Ilin wrote: > > 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. > > Fix

[PATCH] tools: imx8image: Fix handle leak

2022-11-23 Thread Mikhail Ilin
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-of