Re: [PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-13 Thread Simon Glass
> From: Ilias Apalodimas > Date: Thu, 7 Dec 2023 14:36:36 +0200 > > efi_get_var() allocates memory which has to be freed after the value of > the variable is consumed. Free the memory properly > > Fixes: f2bfa0cb1794 ("bootstd: Make efi_mgr bootmeth work for non-sandbox > setups") >

Re: [PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-07 Thread Mark Kettenis
> From: Ilias Apalodimas > Date: Thu, 7 Dec 2023 14:36:36 +0200 > > efi_get_var() allocates memory which has to be freed after the value of > the variable is consumed. Free the memory properly > > Fixes: f2bfa0cb1794 ("bootstd: Make efi_mgr bootmeth work for non-sandbox > setups") >

Re: [PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-07 Thread Heinrich Schuchardt
On 07.12.23 13:36, Ilias Apalodimas wrote: efi_get_var() allocates memory which has to be freed after the value of the variable is consumed. Free the memory properly Fixes: f2bfa0cb1794 ("bootstd: Make efi_mgr bootmeth work for non-sandbox setups") Signed-off-by: Ilias Apalodimas

[PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-07 Thread Ilias Apalodimas
efi_get_var() allocates memory which has to be freed after the value of the variable is consumed. Free the memory properly Fixes: f2bfa0cb1794 ("bootstd: Make efi_mgr bootmeth work for non-sandbox setups") Signed-off-by: Ilias Apalodimas --- Apologies for the quick resend but the previous