Ilias Apalodimas eb09c33084 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>
2023-12-13 18:39:06 -05:00
..
2023-10-11 15:43:55 -04:00
2021-11-11 19:01:56 -05:00
2023-11-14 20:04:00 -07:00
2022-01-19 18:11:34 +01:00
2023-09-19 11:36:25 -04:00
2021-11-11 19:01:56 -05:00
2021-11-11 19:01:56 -05:00
2023-12-13 11:51:24 -05:00
2023-12-13 11:51:24 -05:00
2023-10-11 15:43:55 -04:00
2022-08-26 16:32:59 -06:00