commit | b92f7ba0f7b11028822119fa69f4e0ff63c0e79e | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Mon Aug 12 23:57:59 2024 +0300 |
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Sat Aug 24 11:32:43 2024 +0200 |
tree | 5b917956d47544780a5cc877450aea3f98358150 | |
parent | 9a402040a0eede12bd77f280fe8fc99c4b227b5c [diff] |
efi_loader: fix memory freeing in efi_get_dp_from_boot() 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 <ilias.apalodimas@linaro.org> Reviewed-by: Heinric Schuchardt <heinrich.schuchardt@canonical.com>