Re: [PATCH 3/3] efi_loader: create common function to free struct efi_disk_obj

2023-12-25 Thread Masahisa Kojima
On Mon, 25 Dec 2023 at 19:31, Heinrich Schuchardt wrote: > > On 12/25/23 05:43, Masahisa Kojima wrote: > > Current error handling of creating raw disk/partition has > > following issues. > > - duplicate free for efi handle, efi handle is already freed > > in efi_delete_handle() > > I cannot

Re: [PATCH 3/3] efi_loader: create common function to free struct efi_disk_obj

2023-12-25 Thread Heinrich Schuchardt
On 12/25/23 05:43, Masahisa Kojima wrote: Current error handling of creating raw disk/partition has following issues. - duplicate free for efi handle, efi handle is already freed in efi_delete_handle() I cannot see where this patch reduces the number of efi_delete_handle() invocations.

[PATCH 3/3] efi_loader: create common function to free struct efi_disk_obj

2023-12-24 Thread Masahisa Kojima
Current error handling of creating raw disk/partition has following issues. - duplicate free for efi handle, efi handle is already freed in efi_delete_handle() - missing free for struct efi_device_path and struct efi_simple_file_system_protocol in some error paths To address those issue,