diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2025-01-11 21:42:11 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-20 08:01:09 -0600 |
commit | 11319e0e2bbf7b3892658d45017cd80c41ad961b (patch) | |
tree | 9f6d7df07d0fb03e5b92965b33db21f18ad43ecb /drivers/ddr/imx | |
parent | 4bbfd1c04277d83783266fae754b2227cbc5caae (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>
Diffstat (limited to 'drivers/ddr/imx')
0 files changed, 0 insertions, 0 deletions