[PATCH] fixup! scripts: imx: report file where error occurred

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's called once only, so doesn't matter much. But let's lead by example.
:-)


---
 scripts/imx/imx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c
index 8cefdee6ceec..c52f99112021 100644
--- a/scripts/imx/imx.c
+++ b/scripts/imx/imx.c
@@ -736,5 +736,6 @@ int parse_config(struct config_data *data, const char *_filename)
 
 cleanup:
 	fclose(f);
+	free(filename)
 	return ret;
 }
-- 
2.24.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux