efi_selftest: error handling in efi_selftest_tcg2
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 1 May 2022 09:34:15 +0000 (11:34 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 3 May 2022 19:39:22 +0000 (21:39 +0200)
commitc900a42eb0a82d3d7cd18f3255acf92dd9894b92
tree5968b90ec2e202363f759adf4c0250fa5268abcc
parent0db8221f323efe9c92e569b2d741229e020f3e08
efi_selftest: error handling in efi_selftest_tcg2

If memory allocation fails, write an error message.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_selftest/efi_selftest_tcg2.c