mbox series

[0/3] fix and refactoring of efi_disk.c

Message ID 20231225044356.626900-1-masahisa.kojima@linaro.org
Headers show
Series fix and refactoring of efi_disk.c | expand

Message

Masahisa Kojima Dec. 25, 2023, 4:43 a.m. UTC
This series fixes the memory leak issue in lib/efi_loader/efi_disk.c
and removes the unused members in struct efi_disk_obj.

Masahisa Kojima (3):
  efi_loader: remove unused members from struct efi_disk_obj
  efi_loader: avoid pointer access after calling efi_delete_handle
  efi_loader: create common function to free struct efi_disk_obj

 lib/efi_loader/efi_disk.c | 50 ++++++++++++++++++++++-----------------
 1 file changed, 28 insertions(+), 22 deletions(-)