diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2021-05-24 13:33:07 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-05-26 12:33:25 +0000 |
commit | 5ab67f9ef8654ebf51b27441e8f01b9be4553161 (patch) | |
tree | d14d6fc004c8573908169e16287b3d744977eed8 /util/ifdtool | |
parent | d2b2a183075ad0c8e3b505541b7055c90a802ded (diff) |
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>
Diffstat (limited to 'util/ifdtool')
0 files changed, 0 insertions, 0 deletions