diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-07-30 12:59:32 +0200 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-08-03 09:21:02 +0200 |
commit | ecae4bbf35fac3cde0c41c012a05c8e5b4ade90f (patch) | |
tree | 5e9fca8181aee557687cf422c15e9e1cb30098f9 /lib/string.c | |
parent | 257a498fbb146f866d729176a6fce5875323d4b9 (diff) |
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>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions