Re: [PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-02-07 Thread Simon Glass
Hi Sam, On Fri, 7 Feb 2025 at 18:11, Sam Protsenko wrote: > > On Tue, Jan 14, 2025 at 7:14 AM Simon Glass wrote: > > > > On Sat, 11 Jan 2025 at 20:42, Sam Protsenko > > wrote: > > > > > > Free memory allocated for 'order' (array of bootmeths) on error paths in > > > bootmeth_setup_iter_order()

Re: [PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-02-07 Thread Sam Protsenko
On Tue, Jan 14, 2025 at 7:14 AM Simon Glass wrote: > > On Sat, 11 Jan 2025 at 20:42, Sam Protsenko > wrote: > > > > Free memory allocated for 'order' (array of bootmeths) on error paths in > > bootmeth_setup_iter_order() function. > > > > Fixes: c627cfc14c08 ("bootstd: Allow scanning for global

Re: [PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-02-07 Thread Sam Protsenko
On Mon, Jan 13, 2025 at 1:37 AM Heinrich Schuchardt wrote: > > On 1/12/25 04:42, Sam Protsenko wrote: > > 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 >

Re: [PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-01-14 Thread Simon Glass
On Sat, 11 Jan 2025 at 20:42, Sam Protsenko wrote: > > 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 emp

Re: [PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-01-12 Thread Heinrich Schuchardt
On 1/12/25 04:42, Sam Protsenko wrote: 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-

[PATCH 1/3] bootstd: Fix memleak on errors in bootmeth_setup_iter_order()

2025-01-11 Thread Sam Protsenko
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 --- boot/bootmeth-ucl