commit | 565938c658e8ba885ea4f8a9d7c99c4a4b9cd261 | [log] [tgz] |
---|---|---|
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Thu Dec 07 14:36:36 2023 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Dec 13 18:39:06 2023 -0500 |
tree | bd8b60f779bc66fb951401a08d36c4a45140859a | |
parent | 2b259f027f925915ac69aeeb16fff5186becee91 [diff] |
bootstd: Fix a memory leak in the efi manager bootflow 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 <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>