[PATCH] efi_loader: EFI TCG2 free efi memory on protocol failure

2021-03-25 Thread Ilias Apalodimas
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 --- changes since v2: - remove the table using efi_install_configuration_table with NULL chan

Re: [PATCH] efi_loader: EFI TCG2 free efi memory on protocol failure

2021-03-25 Thread Ilias Apalodimas
On Thu, Mar 25, 2021 at 11:10:26AM +0100, Heinrich Schuchardt wrote: > On 24.03.21 15:23, Ilias Apalodimas wrote: > > 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_PROT

Re: [PATCH] efi_loader: EFI TCG2 free efi memory on protocol failure

2021-03-25 Thread Heinrich Schuchardt
On 24.03.21 15:23, Ilias Apalodimas wrote: > 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 > --- > lib/efi_loader/efi_tcg2.c | 21

[PATCH] efi_loader: EFI TCG2 free efi memory on protocol failure

2021-03-24 Thread Ilias Apalodimas
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 --- lib/efi_loader/efi_tcg2.c | 21 + 1 file changed, 17 insertions(+), 4