From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id BBAB1940EAD for ; Fri, 1 Sep 2023 00:10:42 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=r/lEmeP6zfORoW9Eg4vKdmuB7Ljg/9ppXIlluaq40r8=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1693527041; v=1; b=FF34YQgTleWHxvDHS24PsfQuZb0XaAXFHprtkL/odE7rnUFg1LTOu71RaJLYi2x+KyEY5b6R THBScrW6HYfurEuvaG9X8izr2Dw+tMrTZbeC9WL6g3LyzUnIq5xXM9+sdErq4Pb9GklxIHL384c v6WNP/tqkpILR4G1r0S5Qm18= X-Received: by 127.0.0.2 with SMTP id 3JcJYY7687511xillkg49JZj; Thu, 31 Aug 2023 17:10:41 -0700 X-Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web11.9778.1693527040386165511 for ; Thu, 31 Aug 2023 17:10:40 -0700 X-Received: by mail-lf1-f41.google.com with SMTP id 2adb3069b0e04-5007f3d3235so2670216e87.2 for ; Thu, 31 Aug 2023 17:10:40 -0700 (PDT) X-Gm-Message-State: IAJMlug0reAcQZZKGwYR2jhRx7686176AA= X-Google-Smtp-Source: AGHT+IG8fWwYLdDAyM1CPf1NBHS27aX6YbLHlAvmvlLSJSxXkjQKzHy+uQTFHTjsFrWcYF01Pq/nSA== X-Received: by 2002:a05:6512:752:b0:4fa:5e76:7ad4 with SMTP id c18-20020a056512075200b004fa5e767ad4mr405091lfs.10.1693527038107; Thu, 31 Aug 2023 17:10:38 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id h22-20020a197016000000b004ffa0350851sm461422lfc.78.2023.08.31.17.10.36 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 31 Aug 2023 17:10:37 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: dandan.bi@intel.com, gaoliming@byosoft.com.cn, michael.d.kinney@intel.com, nathaniel.l.desimone@intel.com, Mike Maslenkin Subject: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Date: Fri, 1 Sep 2023 03:10:30 +0300 Message-Id: <20230901001032.52136-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=FF34YQgT; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Please, find trivial memory leak fixes on error path. The only question: is it required to use FreePool() or CoreFreePool() from DXE core code? Patch 2/2 is made in accordance with existing code. Cc: Dandan Bi Cc: Liming Gao Cc: Michael D Kinney Cc: Nate DeSimone Signed-off-by: Mike Maslenkin -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108220): https://edk2.groups.io/g/devel/message/108220 Mute This Topic: https://groups.io/mt/101085561/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-