Re: [edk2] [Patch 2/2] MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak.

2018-01-08 Thread Fu, Siyuan
bject: [edk2] [Patch 2/2] MdeModulePkg: Freed packet buffer when error > occurs to avoid memory leak. > > * In function Mtftp4WrqSendBlock(), when packet is not needed, function > returns EFI_ABORTED but not freed the packet buffer. It results some > memory leak and this patch is to fix t

Re: [edk2] [Patch 2/2] MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak.

2018-01-08 Thread Wu, Jiaxin
[Patch 2/2] MdeModulePkg: Freed packet buffer when error > occurs to avoid memory leak. > > * In function Mtftp4WrqSendBlock(), when packet is not needed, function > returns EFI_ABORTED but not freed the packet buffer. It results some > memory leak and this patch is to fix this i

[edk2] [Patch 2/2] MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak.

2018-01-08 Thread Wang Fan
* In function Mtftp4WrqSendBlock(), when packet is not needed, function returns EFI_ABORTED but not freed the packet buffer. It results some memory leak and this patch is to fix this issue. Cc: Jiaxin Wu Cc: Ye Ting Cc: Fu Siyuan Contributed-under: TianoCore Contribution Agreement 1.0 Signe