commit | b1c6d8112ea13326d45c7cc0e9815d2a45045dec | [log] [tgz] |
---|---|---|
author | Sam Protsenko <semen.protsenko@linaro.org> | Sat Jan 11 21:42:11 2025 -0600 |
committer | Tom Rini <trini@konsulko.com> | Fri Jun 20 08:01:09 2025 -0600 |
tree | 9f6d7df07d0fb03e5b92965b33db21f18ad43ecb | |
parent | 9fb1067a36d2ef91c78358cb61a86b70278f1742 [diff] |
bootstd: Fix memleak on errors in bootmeth_setup_iter_order() Free memory allocated for 'order' (array of bootmeths) on error paths in bootmeth_setup_iter_order() function. Fixes: c627cfc14c08 ("bootstd: Allow scanning for global bootmeths separately") Fixes: 10d16faa436c ("bootstd: Detect empty bootmeth") Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org>