u-boot/test/overlay
Tom Rini d91062c41e test/overlay: Fix various malloc/free leaks
With the overlay tests now being built in sandbox Coverity has found a
number of issues in the tests.  In short, if malloc ever failed we would
leak the previous mallocs, so we need to do the usual goto pattern to
free each in turn.  Finally, we always looked at the free()d location to
see how many tests had failed for the return code.

Reported-by: Coverity (CID: 167224, 167227, 167230, 167236)
Signed-off-by: Tom Rini <trini@konsulko.com>
2017-10-06 11:28:20 -04:00
..
cmd_ut_overlay.c test/overlay: Fix various malloc/free leaks 2017-10-06 11:28:20 -04:00
Kconfig tests: Introduce DT overlay tests 2016-08-20 11:35:07 -04:00
Makefile test: overlay: Add unit test for stacked overlay 2017-09-15 05:27:49 -06:00
test-fdt-base.dts tests: Introduce DT overlay tests 2016-08-20 11:35:07 -04:00
test-fdt-overlay-stacked.dts test: overlay: Add unit test for stacked overlay 2017-09-15 05:27:49 -06:00
test-fdt-overlay.dts tests: Introduce DT overlay tests 2016-08-20 11:35:07 -04:00