Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> --- scripts/kwbimage.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kwbimage.c b/scripts/kwbimage.c index cd87456..c085d4d 100644 --- a/scripts/kwbimage.c +++ b/scripts/kwbimage.c @@ -1343,6 +1343,7 @@ static int image_create(const char *input, const char *output, rewind(fcfg); ret = image_create_config_parse(fcfg, image_cfg, &cfgn); + fclose(fcfg); if (ret) { free(image_cfg); return -1; -- 1.8.3.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox