commit | 282772102aba4692da22bd57eef4bc3939b0fbb7 | [log] [tgz] |
---|---|---|
author | Mikhail Ilin <ilin.mikhail.ol@gmail.com> | Wed Nov 23 13:48:44 2022 +0300 |
committer | Stefano Babic <sbabic@denx.de> | Mon Jan 30 23:23:01 2023 +0100 |
tree | 3ea005fdf76b0043ab6eb4a6f5d72158b0228ca8 | |
parent | bec242f28e5a090e63466d2a4f058b4bd766d3eb [diff] |
tools: imx8mimage: Fix handle leak 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 <ilin.mikhail.ol@gmail.com>