On Mon, 12 Aug 2024 at 14:58, Ilias Apalodimas <[email protected]> wrote: > > efi_get_var() allocates memory which must be freed after the variable is > used. Since the device path is duplicated after we deserialize the load > options free the memory used for the variable payload > > Fixes: db61e70e0d2a efi_loader: efi_dp_from_lo() should skip VenMedia node > Signed-off-by: Ilias Apalodimas <[email protected]> > --- > lib/efi_loader/efi_helper.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <[email protected]>

