grub/grub-core
Lidong Chen 6b64f297e5 loader/xnu: Fix memory leak
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: Lidong Chen <lidong.chen@oracle.com>
Reviewed-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-04-04 19:37:34 +02:00
..
2025-04-04 19:27:25 +02:00
2025-04-04 19:35:51 +02:00
2023-01-19 17:39:04 +01:00
2024-06-06 16:55:15 +02:00
2025-04-04 19:31:05 +02:00
2025-04-04 19:37:34 +02:00
2024-11-28 21:50:54 +01:00
2025-02-26 19:34:57 +01:00
2017-05-03 12:49:31 +02:00
2017-05-03 12:49:31 +02:00