coreboot-kgpe-d16/tests
Jakub Czapiga 5ab67f9ef8 tests/lib/memset-test: Add missing malloc check and free on error
Coverity found resource leak in test setup function in error block.
Add malloc result check and free in error handling to silence Coverity.

Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Found-by: Coverity CID 1446760
Change-Id: Icf746df27167047fa3cf8f5df09fced20863f76d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54874
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
2021-05-26 12:33:25 +00:00
..
acpi tests: Add acpi/acpigen-test test case 2021-02-23 17:10:10 +00:00
commonlib commonlib/region: Turn addrspace_32bit into a more official API 2021-04-21 02:06:26 +00:00
device
include tests: Add lib/spd_cache-test test case 2021-05-14 08:59:29 +00:00
lib tests/lib/memset-test: Add missing malloc check and free on error 2021-05-26 12:33:25 +00:00
stubs Rename do_printk() to printk() 2021-04-14 10:38:09 +00:00
Makefile.inc tests: improve code coverage support 2021-05-19 19:56:02 +00:00