]> git.dujemihanovic.xyz Git - u-boot.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)
commitd8cf113fe5860d4d262dfd2211524cda5bff19b2
tree42d55528ffd7276a6f8d6d597aff20d0f38dfd62
parentde489d82e31894b3b4cdf37972bab353267a83e8
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: c8d0fd582576 ("efi_loader: Introduce eventlog support for TCG2_PROTOCOL")
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_tcg2.c