On Fri, Jul 04, 2025 at 09:39:08AM +0100, Frediano Ziglio via Grub-devel wrote:
> We need to use FOR_LIST_ELEMENTS_SAFE instead of FOR_LIST_ELEMENTS
> as single_binary_unload, called during the loop, is changing
> the list using grub_list_remove.
> Given the environment probably the old code simply deleted only the
> first module on the list not freeing all the others.
>
> Signed-off-by: Frediano Ziglio <frediano.zig...@cloud.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to