public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
@ 2023-09-01  0:10 Mike Maslenkin
  2023-09-01  0:10 ` [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c Mike Maslenkin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Mike Maslenkin @ 2023-09-01  0:10 UTC (permalink / raw)
  To: devel
  Cc: dandan.bi, gaoliming, michael.d.kinney, nathaniel.l.desimone,
	Mike Maslenkin

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 <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>




-=-=-=-=-=-=-=-=-=-=-=-
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]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c
  2023-09-01  0:10 [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Mike Maslenkin
@ 2023-09-01  0:10 ` Mike Maslenkin
  2023-09-08 21:46   ` Michael D Kinney
  2023-09-01  0:10 ` [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c Mike Maslenkin
  2023-09-08 21:40 ` [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Michael D Kinney
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Maslenkin @ 2023-09-01  0:10 UTC (permalink / raw)
  To: devel
  Cc: dandan.bi, gaoliming, michael.d.kinney, nathaniel.l.desimone,
	Mike Maslenkin

FwVolHeader must be deallocated on error path.

Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
---
 MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
index 153bfecafa77..0c1554ba4d63 100644
--- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
+++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
@@ -659,6 +659,7 @@ NotifyFwVolBlock (
       //
       FvDevice = AllocateCopyPool (sizeof (FV_DEVICE), &mFvDevice);
       if (FvDevice == NULL) {
+        CoreFreePool (FwVolHeader);
         return;
       }
 
-- 
2.32.0 (Apple Git-132)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108221): https://edk2.groups.io/g/devel/message/108221
Mute This Topic: https://groups.io/mt/101085563/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c
  2023-09-01  0:10 [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Mike Maslenkin
  2023-09-01  0:10 ` [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c Mike Maslenkin
@ 2023-09-01  0:10 ` Mike Maslenkin
  2023-09-08 21:46   ` Michael D Kinney
  2023-09-08 21:40 ` [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Michael D Kinney
  2 siblings, 1 reply; 9+ messages in thread
From: Mike Maslenkin @ 2023-09-01  0:10 UTC (permalink / raw)
  To: devel
  Cc: dandan.bi, gaoliming, michael.d.kinney, nathaniel.l.desimone,
	Mike Maslenkin

FvbDev->LbaCache must be freed on error path before deallocating FvbDev.

Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
---
 MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
index d81334ce24d1..9f5f40e5cd49 100644
--- a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
+++ b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
@@ -551,6 +551,7 @@ ProduceFVBProtocolOnBuffer (
     //
     FvbDev->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *)AllocateCopyPool (sizeof (FV_MEMMAP_DEVICE_PATH), &mFvMemmapDevicePathTemplate);
     if (FvbDev->DevicePath == NULL) {
+      FreePool (FvbDev->LbaCache);
       FreePool (FvbDev);
       return EFI_OUT_OF_RESOURCES;
     }
@@ -563,6 +564,7 @@ ProduceFVBProtocolOnBuffer (
     //
     FvbDev->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *)AllocateCopyPool (sizeof (FV_PIWG_DEVICE_PATH), &mFvPIWGDevicePathTemplate);
     if (FvbDev->DevicePath == NULL) {
+      FreePool (FvbDev->LbaCache);
       FreePool (FvbDev);
       return EFI_OUT_OF_RESOURCES;
     }
-- 
2.32.0 (Apple Git-132)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108222): https://edk2.groups.io/g/devel/message/108222
Mute This Topic: https://groups.io/mt/101085565/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
  2023-09-01  0:10 [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Mike Maslenkin
  2023-09-01  0:10 ` [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c Mike Maslenkin
  2023-09-01  0:10 ` [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c Mike Maslenkin
@ 2023-09-08 21:40 ` Michael D Kinney
  2023-09-08 21:49   ` Michael D Kinney
  2 siblings, 1 reply; 9+ messages in thread
From: Michael D Kinney @ 2023-09-08 21:40 UTC (permalink / raw)
  To: Mike Maslenkin, devel@edk2.groups.io
  Cc: Bi, Dandan, Gao, Liming, Desimone, Nathaniel L, Kinney, Michael D

Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>


> -----Original Message-----
> From: Mike Maslenkin <mike.maslenkin@gmail.com>
> Sent: Thursday, August 31, 2023 5:11 PM
> To: devel@edk2.groups.io
> Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>;
> Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike Maslenkin
> <mike.maslenkin@gmail.com>
> Subject: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> 
> 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 <dandan.bi@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
> Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108463): https://edk2.groups.io/g/devel/message/108463
Mute This Topic: https://groups.io/mt/101085561/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c
  2023-09-01  0:10 ` [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c Mike Maslenkin
@ 2023-09-08 21:46   ` Michael D Kinney
  0 siblings, 0 replies; 9+ messages in thread
From: Michael D Kinney @ 2023-09-08 21:46 UTC (permalink / raw)
  To: Mike Maslenkin, devel@edk2.groups.io
  Cc: Bi, Dandan, Gao, Liming, Desimone, Nathaniel L, Wang, Jian J,
	Kinney, Michael D

+Jian

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

> -----Original Message-----
> From: Mike Maslenkin <mike.maslenkin@gmail.com>
> Sent: Thursday, August 31, 2023 5:11 PM
> To: devel@edk2.groups.io
> Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>;
> Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike Maslenkin
> <mike.maslenkin@gmail.com>
> Subject: [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in
> FwVol.c
> 
> FwVolHeader must be deallocated on error path.
> 
> Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> ---
>  MdeModulePkg/Core/Dxe/FwVol/FwVol.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> index 153bfecafa77..0c1554ba4d63 100644
> --- a/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> +++ b/MdeModulePkg/Core/Dxe/FwVol/FwVol.c
> @@ -659,6 +659,7 @@ NotifyFwVolBlock (
>        //
> 
>        FvDevice = AllocateCopyPool (sizeof (FV_DEVICE), &mFvDevice);
> 
>        if (FvDevice == NULL) {
> 
> +        CoreFreePool (FwVolHeader);
> 
>          return;
> 
>        }
> 
> 
> 
> --
> 2.32.0 (Apple Git-132)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108464): https://edk2.groups.io/g/devel/message/108464
Mute This Topic: https://groups.io/mt/101085563/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c
  2023-09-01  0:10 ` [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c Mike Maslenkin
@ 2023-09-08 21:46   ` Michael D Kinney
  0 siblings, 0 replies; 9+ messages in thread
From: Michael D Kinney @ 2023-09-08 21:46 UTC (permalink / raw)
  To: Mike Maslenkin, devel@edk2.groups.io
  Cc: Bi, Dandan, Gao, Liming, Desimone, Nathaniel L, Wang, Jian J,
	Kinney, Michael D

+Jian

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>

> -----Original Message-----
> From: Mike Maslenkin <mike.maslenkin@gmail.com>
> Sent: Thursday, August 31, 2023 5:11 PM
> To: devel@edk2.groups.io
> Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Kinney, Michael D <michael.d.kinney@intel.com>;
> Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike Maslenkin
> <mike.maslenkin@gmail.com>
> Subject: [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in
> FwVolBlock.c
> 
> FvbDev->LbaCache must be freed on error path before deallocating FvbDev.
> 
> Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> ---
>  MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
> b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
> index d81334ce24d1..9f5f40e5cd49 100644
> --- a/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
> +++ b/MdeModulePkg/Core/Dxe/FwVolBlock/FwVolBlock.c
> @@ -551,6 +551,7 @@ ProduceFVBProtocolOnBuffer (
>      //
> 
>      FvbDev->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *)AllocateCopyPool
> (sizeof (FV_MEMMAP_DEVICE_PATH), &mFvMemmapDevicePathTemplate);
> 
>      if (FvbDev->DevicePath == NULL) {
> 
> +      FreePool (FvbDev->LbaCache);
> 
>        FreePool (FvbDev);
> 
>        return EFI_OUT_OF_RESOURCES;
> 
>      }
> 
> @@ -563,6 +564,7 @@ ProduceFVBProtocolOnBuffer (
>      //
> 
>      FvbDev->DevicePath = (EFI_DEVICE_PATH_PROTOCOL *)AllocateCopyPool
> (sizeof (FV_PIWG_DEVICE_PATH), &mFvPIWGDevicePathTemplate);
> 
>      if (FvbDev->DevicePath == NULL) {
> 
> +      FreePool (FvbDev->LbaCache);
> 
>        FreePool (FvbDev);
> 
>        return EFI_OUT_OF_RESOURCES;
> 
>      }
> 
> --
> 2.32.0 (Apple Git-132)



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108465): https://edk2.groups.io/g/devel/message/108465
Mute This Topic: https://groups.io/mt/101085565/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
  2023-09-08 21:40 ` [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Michael D Kinney
@ 2023-09-08 21:49   ` Michael D Kinney
  2023-09-11  0:55     ` 回复: " gaoliming via groups.io
  0 siblings, 1 reply; 9+ messages in thread
From: Michael D Kinney @ 2023-09-08 21:49 UTC (permalink / raw)
  To: Mike Maslenkin, devel@edk2.groups.io
  Cc: Bi, Dandan, Gao, Liming, Desimone, Nathaniel L, Wang, Jian J,
	Kinney, Michael D

Hi Mike,

I have created a PR to run EDK II CI while we wait for a 
review from one of the DXE Core Maintainers

https://github.com/tianocore/edk2/pull/4815

Mike


> -----Original Message-----
> From: Kinney, Michael D <michael.d.kinney@intel.com>
> Sent: Friday, September 8, 2023 2:40 PM
> To: Mike Maslenkin <mike.maslenkin@gmail.com>; devel@edk2.groups.io
> Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Desimone, Nathaniel L
> <nathaniel.l.desimone@intel.com>; Kinney, Michael D
> <michael.d.kinney@intel.com>
> Subject: RE: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> 
> Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> 
> 
> > -----Original Message-----
> > From: Mike Maslenkin <mike.maslenkin@gmail.com>
> > Sent: Thursday, August 31, 2023 5:11 PM
> > To: devel@edk2.groups.io
> > Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>; Kinney, Michael D
> <michael.d.kinney@intel.com>;
> > Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike Maslenkin
> > <mike.maslenkin@gmail.com>
> > Subject: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> >
> > 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 <dandan.bi@intel.com>
> > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
> > Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> >



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108466): https://edk2.groups.io/g/devel/message/108466
Mute This Topic: https://groups.io/mt/101085561/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* 回复: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
  2023-09-08 21:49   ` Michael D Kinney
@ 2023-09-11  0:55     ` gaoliming via groups.io
  2023-09-11  2:30       ` Michael D Kinney
  0 siblings, 1 reply; 9+ messages in thread
From: gaoliming via groups.io @ 2023-09-11  0:55 UTC (permalink / raw)
  To: devel, michael.d.kinney, 'Mike Maslenkin'
  Cc: 'Bi, Dandan', 'Desimone, Nathaniel L',
	'Wang, Jian J'

Fort this patch set, Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>

> -----邮件原件-----
> 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Michael D
> Kinney
> 发送时间: 2023年9月9日 5:50
> 收件人: Mike Maslenkin <mike.maslenkin@gmail.com>;
> devel@edk2.groups.io
> 抄送: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> <gaoliming@byosoft.com.cn>; Desimone, Nathaniel L
> <nathaniel.l.desimone@intel.com>; Wang, Jian J <jian.j.wang@intel.com>;
> Kinney, Michael D <michael.d.kinney@intel.com>
> 主题: Re: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory
> leak issues
> 
> Hi Mike,
> 
> I have created a PR to run EDK II CI while we wait for a
> review from one of the DXE Core Maintainers
> 
> https://github.com/tianocore/edk2/pull/4815
> 
> Mike
> 
> 
> > -----Original Message-----
> > From: Kinney, Michael D <michael.d.kinney@intel.com>
> > Sent: Friday, September 8, 2023 2:40 PM
> > To: Mike Maslenkin <mike.maslenkin@gmail.com>; devel@edk2.groups.io
> > Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>; Desimone, Nathaniel L
> > <nathaniel.l.desimone@intel.com>; Kinney, Michael D
> > <michael.d.kinney@intel.com>
> > Subject: RE: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> >
> > Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> >
> >
> > > -----Original Message-----
> > > From: Mike Maslenkin <mike.maslenkin@gmail.com>
> > > Sent: Thursday, August 31, 2023 5:11 PM
> > > To: devel@edk2.groups.io
> > > Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > > <gaoliming@byosoft.com.cn>; Kinney, Michael D
> > <michael.d.kinney@intel.com>;
> > > Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike
> Maslenkin
> > > <mike.maslenkin@gmail.com>
> > > Subject: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> > >
> > > 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 <dandan.bi@intel.com>
> > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > > Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
> > > Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> > >
> 
> 
> 
> 
> 





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108470): https://edk2.groups.io/g/devel/message/108470
Mute This Topic: https://groups.io/mt/101284117/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
  2023-09-11  0:55     ` 回复: " gaoliming via groups.io
@ 2023-09-11  2:30       ` Michael D Kinney
  0 siblings, 0 replies; 9+ messages in thread
From: Michael D Kinney @ 2023-09-11  2:30 UTC (permalink / raw)
  To: Gao, Liming, devel@edk2.groups.io, 'Mike Maslenkin'
  Cc: Bi, Dandan, Desimone, Nathaniel L, Wang, Jian J,
	Kinney, Michael D

Merged: https://github.com/tianocore/edk2/pull/4815


> -----Original Message-----
> From: gaoliming <gaoliming@byosoft.com.cn>
> Sent: Sunday, September 10, 2023 5:55 PM
> To: devel@edk2.groups.io; Kinney, Michael D <michael.d.kinney@intel.com>;
> 'Mike Maslenkin' <mike.maslenkin@gmail.com>
> Cc: Bi, Dandan <dandan.bi@intel.com>; Desimone, Nathaniel L
> <nathaniel.l.desimone@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
> Subject: 回复: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory
> leak issues
> 
> Fort this patch set, Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
> 
> > -----邮件原件-----
> > 发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Michael D
> > Kinney
> > 发送时间: 2023年9月9日 5:50
> > 收件人: Mike Maslenkin <mike.maslenkin@gmail.com>;
> > devel@edk2.groups.io
> > 抄送: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > <gaoliming@byosoft.com.cn>; Desimone, Nathaniel L
> > <nathaniel.l.desimone@intel.com>; Wang, Jian J <jian.j.wang@intel.com>;
> > Kinney, Michael D <michael.d.kinney@intel.com>
> > 主题: Re: [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory
> > leak issues
> >
> > Hi Mike,
> >
> > I have created a PR to run EDK II CI while we wait for a
> > review from one of the DXE Core Maintainers
> >
> > https://github.com/tianocore/edk2/pull/4815
> >
> > Mike
> >
> >
> > > -----Original Message-----
> > > From: Kinney, Michael D <michael.d.kinney@intel.com>
> > > Sent: Friday, September 8, 2023 2:40 PM
> > > To: Mike Maslenkin <mike.maslenkin@gmail.com>; devel@edk2.groups.io
> > > Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > > <gaoliming@byosoft.com.cn>; Desimone, Nathaniel L
> > > <nathaniel.l.desimone@intel.com>; Kinney, Michael D
> > > <michael.d.kinney@intel.com>
> > > Subject: RE: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> > >
> > > Series Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
> > >
> > >
> > > > -----Original Message-----
> > > > From: Mike Maslenkin <mike.maslenkin@gmail.com>
> > > > Sent: Thursday, August 31, 2023 5:11 PM
> > > > To: devel@edk2.groups.io
> > > > Cc: Bi, Dandan <dandan.bi@intel.com>; Gao, Liming
> > > > <gaoliming@byosoft.com.cn>; Kinney, Michael D
> > > <michael.d.kinney@intel.com>;
> > > > Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Mike
> > Maslenkin
> > > > <mike.maslenkin@gmail.com>
> > > > Subject: [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues
> > > >
> > > > 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 <dandan.bi@intel.com>
> > > > Cc: Liming Gao <gaoliming@byosoft.com.cn>
> > > > Cc: Michael D Kinney <michael.d.kinney@intel.com>
> > > > Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
> > > > Signed-off-by: Mike Maslenkin <mike.maslenkin@gmail.com>
> > > >
> >
> >
> >
> > 
> >
> 
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#108473): https://edk2.groups.io/g/devel/message/108473
Mute This Topic: https://groups.io/mt/101285586/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-11  2:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01  0:10 [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Mike Maslenkin
2023-09-01  0:10 ` [edk2-devel] [PATCH 1/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVol.c Mike Maslenkin
2023-09-08 21:46   ` Michael D Kinney
2023-09-01  0:10 ` [edk2-devel] [PATCH 2/2] MdeModulePkg/Core/Dxe: Fix memory leak issue in FwVolBlock.c Mike Maslenkin
2023-09-08 21:46   ` Michael D Kinney
2023-09-08 21:40 ` [edk2-devel] [PATCH 0/2] MdeModulePkg/Core/Dxe: Fix memory leak issues Michael D Kinney
2023-09-08 21:49   ` Michael D Kinney
2023-09-11  0:55     ` 回复: " gaoliming via groups.io
2023-09-11  2:30       ` Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox