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: 697680 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp4659714wrm; Wed, 28 Jun 2023 19:16:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5c8jqGTArpi90aajmgZOOndnW+WY2kNLPG175w4pLwinLv8Zpe5Xtx6z+l5/FN8LsJZ56v X-Received: by 2002:a2e:b632:0:b0:2b6:a662:b874 with SMTP id s18-20020a2eb632000000b002b6a662b874mr994016ljn.21.1688004996155; Wed, 28 Jun 2023 19:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688004996; cv=none; d=google.com; s=arc-20160816; b=AdhYuOfaCERK/nYSmEhYYYETsidVEQyXrnbaYIwZsQMNJqP3yq46eiMbLexIJ/1Qn2 zQ99qLOvYIr98mXct4XPFcF+8AVlOdEmmAcfPwbEXKVJarl9O1KfX6r9nVvneB2q4tZ7 zyaWlYjOM9sUwgxFqL/cVwy5rInRjzJr5LQ3TwKlxHzesgwISEkXbsGVu975Qtp2KBjU kV5EZrcnDkrZE3/Q+IJ12K+oui7ECrnkNZ/hQCD98MD87sFNp3sdgZ9y+WtbOoWxzzxk 9v6voGN76C9ozz/d0P1oYueyzCrFPfrzCv61D6Q/7my2OdaRrHl1Ijy/7ag0P15axQ7u mlcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=CMJavJQG7NByUd00XAXRSR0ALw8Khk2/ZPnjviayEEQ=; fh=xWnK1/7fBTdVDaN2FJjwlhjWsSIAtcCgVGMcAxcMok8=; b=rRnZCh4oorc7MLf7glaCSTx9QWrUE3KEvcKcv17y/Ie3u/NFhRBOb5i8EkctRFFz30 e1ZOI9gsDWYY4jQtqBZa9Gko/Uc9DYgJ3DdaaT74c+6iklYM46Hx7MZduQuVLDbj2khZ HWvcm9iYqKPdlVVR248uNRI2vBZ7mRbIwVLEGJNol+CzEz/0BhiimMeOLv+DghITf9Yc JKl41uduW3soeTpF0gFRFR5YG2+95auPk/lya89iGRnMIBXmHxErUfnCNjZSD7cJiB93 97kYpqcaDImTZMFHlqrBDoDUqdIyXJdLV14Kv6fJdUNicDRkLqX5eq7zc4K/y3eTyPNk eQYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IGF1CZ5Z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id c14-20020a05651c014e00b002b6a33f50e0si2458361ljd.493.2023.06.28.19.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 19:16:36 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IGF1CZ5Z; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-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);