]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: efidebug: add missing efi_free_pool for dh subcommand
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Thu, 29 Jun 2023 02:13:51 +0000 (11:13 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 9 Jul 2023 01:53:08 +0000 (03:53 +0200)
This adds the missing efi_free_pool call for dh subcommand.

Fixes: a80146205d0a ("cmd: efidebug: add dh command")
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
cmd/efidebug.c

index 9622430c475ed897509d2a10fb474e9f4f8ca2d8..0be3af3e76309bba4438cc6c7d667dee4946b5a7 100644 (file)
@@ -486,6 +486,7 @@ static int do_efi_show_handles(struct cmd_tbl *cmdtp, int flag,
                        if (guidcmp(guid[j], &efi_guid_device_path))
                                printf("  %pUs\n", guid[j]);
                }
+               efi_free_pool(guid);
        }
 
        efi_free_pool(handles);