[PATCH v2 0/3] fix and refactoring of efi_disk.c
Masahisa Kojima
masahisa.kojima at linaro.org
Wed Jan 17 10:44:29 CET 2024
This series fixes the memory leak issue in lib/efi_loader/efi_disk.c
and refactor the efi_disk_remove() implementation.
[Changelog]
v1 -> v2
- remove already merged patch
- remove container_of() calls
- add TODO comments
- return immediately in UCLASS_EFI_LOADER removal
Masahisa Kojima (3):
efi_loader: avoid pointer access after calling efi_delete_handle
efi_loader: create common function to free struct efi_disk_obj
efi_loader: return immediately in UCLASS_EFI_LOADER removal
lib/efi_loader/efi_disk.c | 55 +++++++++++++++++++++++++++++----------
1 file changed, 41 insertions(+), 14 deletions(-)
--
2.34.1
More information about the U-Boot
mailing list