From patchwork Thu Jun 29 02:13:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 1801324 X-Patchwork-Delegate: xypron.glpk@gmx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=IGF1CZ5Z; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qs2Bl3ljLz20ZC for ; Thu, 29 Jun 2023 12:16:45 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7CFFD861D4; Thu, 29 Jun 2023 04:16:30 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="IGF1CZ5Z"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A3CAE865FD; Thu, 29 Jun 2023 04:16:23 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 669DB8666B for ; Thu, 29 Jun 2023 04:15:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=masahisa.kojima@linaro.org Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3a337ddff16so146310b6e.0 for ; Wed, 28 Jun 2023 19:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688004864; x=1690596864; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CMJavJQG7NByUd00XAXRSR0ALw8Khk2/ZPnjviayEEQ=; b=IGF1CZ5Zj9wtyTXwHG945j/0ipG4xM1D6D/yePwUPEl8G/MMdGpcsNxDkhMk+wpkSK QgApsGBQwBdhlu90rZvpFBoAmxN+oQAVtUhkwl1Lfei994Sa8XiNBHOaWy9WjDK2VTed UCce2OzK+4TqmbtNsgY7R0oosqooC83/BqolZumukjLig/bqXx/SFx1ZHP8LEN9Lp0YZ F2ztkXM/GBHXqr7Zg0EVPVfNazyzZc9+w2I2V+w61kCun0jh08pGaDkemD5z6KBLjn6D vfbySC79PpSHcg5hAr/Yl6kr59rDUAkp1Cmbn4vj1WHUpCYAignNiqld0/339sfcsZZl FcqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688004864; x=1690596864; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CMJavJQG7NByUd00XAXRSR0ALw8Khk2/ZPnjviayEEQ=; b=GnUiCH3gB6tPZcoSHYNwrUKCIUjZMY79VTx5TPOCg4+7J93NFkaeLxiU8W0c3Lcilt Ra59kJSaEPszDOyjmqf4TUOi68EUkCIVxKgykoMdUHFdhn/bl56UVUGlOhEeRhH73BSt V+cOq7mQlN36aIpotaFLr3L2b8TJGRNSeZUiqDgdQO/wZC2f/RbxQNl0eA0iVGMUBTWh C79/xQaV0gENwfhBcjYzKkNh+SZJ8/aaOE6KROeLidGMqxc3K94glBfEZnaJgv31nUvv J6UKzYhRrhImZJmMRrsYIDK9+Hncj7GpWnqF1eD+VKclL1wkSkPJbZIMWXgjDOuPnwzl HemQ== X-Gm-Message-State: AC+VfDxxBvyKtBI82UHlGAQaL95DLlvlaNELZ7UOT8fGTqyLPZz96RGu 1amDFZkI5Jdqbbeu5jP90NQBFEFexFO5B3rO5Ns= X-Google-Smtp-Source: ACHHUZ6JZx+6kFrXXNhRyD3F+jt2TfQDyw+xDo4A25I8g9lx/EAUKF6wrxDZKeVaCTUeWzzjgWR6jQ== X-Received: by 2002:a05:6808:13c6:b0:39a:b1e4:ef28 with SMTP id d6-20020a05680813c600b0039ab1e4ef28mr47404666oiw.47.1688004864150; Wed, 28 Jun 2023 19:14:24 -0700 (PDT) Received: from localhost ([164.70.16.189]) by smtp.gmail.com with ESMTPSA id u15-20020aa7838f000000b0066a6059d399sm7517055pfm.116.2023.06.28.19.14.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 19:14:23 -0700 (PDT) From: Masahisa Kojima To: u-boot@lists.denx.de Cc: Masahisa Kojima , Heinrich Schuchardt , Ilias Apalodimas Subject: [PATCH] cmd: efidebug: add missing efi_free_pool for dh subcommand Date: Thu, 29 Jun 2023 11:13:51 +0900 Message-Id: <20230629021351.230897-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean This adds the missing efi_free_pool call for dh subcommand. Signed-off-by: Masahisa Kojima Reviewed-by: Ilias Apalodimas Reviewed-by: Heinrich Schuchardt --- cmd/efidebug.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index 9622430c47..0be3af3e76 100644 --- a/cmd/efidebug.c +++ b/cmd/efidebug.c @@ -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);