Heinrich Schuchardt ecae4bbf35 efi_loader: memory leak efi_add_memory_map_pg
Don't leak newlist if we error out.

Fixes: 74c16acce30b ("efi_loader: Don't allocate from memory holes")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2023-08-03 09:21:02 +02:00
..
2023-07-17 17:23:15 +08:00
2023-02-10 13:05:40 +01:00
2022-01-19 18:11:34 +01:00
2022-10-06 22:54:57 +02:00
2023-05-31 17:23:01 -04:00