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 <[email protected]>
Reviewed-by: Daniel Kiper <[email protected]> Daniel _______________________________________________ Grub-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/grub-devel
