Re: [U-Boot] [PATCH 6/6] efi_loader: Do not leak memory when unlinking a mapping

2016-09-30 Thread Alexander Graf
On 30.09.16 02:04, Stefan Brüns wrote: > As soon as a mapping is unlinked from the list, there are no further > references to it, so it should be freed. If it not unlinked, > update the start address and length. > > Signed-off-by: Stefan Brüns Reviewed-by: Alexander Graf Alex __

[U-Boot] [PATCH 6/6] efi_loader: Do not leak memory when unlinking a mapping

2016-09-29 Thread Stefan Brüns
As soon as a mapping is unlinked from the list, there are no further references to it, so it should be freed. If it not unlinked, update the start address and length. Signed-off-by: Stefan Brüns --- lib/efi_loader/efi_memory.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --