]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: EFI TCG2 free efi memory on protocol failure
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Thu, 25 Mar 2021 11:31:45 +0000 (13:31 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 25 Mar 2021 19:45:41 +0000 (20:45 +0100)
commitc31409f3ae053fbf3c3d637af1b90f218d0a912a
tree42d55528ffd7276a6f8d6d597aff20d0f38dfd62
parent480f0903a55c7d0eddc6606166f706c3fff5ab56
efi_loader: EFI TCG2 free efi memory on protocol failure

Current code doesn't free the efi allocated memory in case the protocol
failed to install

Fixes: 36a7b5a39461 ("efi_loader: Introduce eventlog support for TCG2_PROTOCOL")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_tcg2.c