Reviewed-By : Vladimir Serbinenko
Le jeu. 27 mars 2025, 20:57, Lidong Chen via Grub-devel
a écrit :
> In grub_xnu_load_kext_from_dir(), when the call to grub_device_open()
> failed, it simply cleaned up previously allocated memory and returned
> GRUB_ERR_NONE. However, it neglected to free ctx->
In grub_xnu_load_kext_from_dir(), when the call to grub_device_open()
failed, it simply cleaned up previously allocated memory and returned
GRUB_ERR_NONE. However, it neglected to free ctx->newdirname which is
allocated before the call to grub_device_open().
Fixes: CID 473859
Signed-off-by: Lidon