Re: [PATCH] efi_loader: Clean up tcg2 once in case of failure

2021-05-10 Thread Heinrich Schuchardt
On 5/10/21 8:15 PM, Ilias Apalodimas wrote: efi_init_event_log() calls tcg2_uninit() in case of failure. We can skip that since the function is called on efi_tcg2_register() which also cleans up if an error occurs Signed-off-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- lib/e

[PATCH] efi_loader: Clean up tcg2 once in case of failure

2021-05-10 Thread Ilias Apalodimas
efi_init_event_log() calls tcg2_uninit() in case of failure. We can skip that since the function is called on efi_tcg2_register() which also cleans up if an error occurs Signed-off-by: Ilias Apalodimas --- lib/efi_loader/efi_tcg2.c | 4 1 file changed, 4 deletions(-) diff --git a/lib/efi_l