Skip to content
Commit 11d90f03 authored by Ilias Apalodimas's avatar Ilias Apalodimas Committed by Simon Glass
Browse files

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: f2bfa0cb ("bootstd: Make efi_mgr bootmeth work for non-sandbox setups")
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
parent 7f7703ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment