audk/MdeModulePkg/Universal/Network/Mtftp4Dxe
Wang Fan 36c19ee6c7 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 issue.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wang Fan <fan.wang@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2018-01-10 08:30:24 +08:00
..
ComponentName.c 1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support. 2012-12-13 06:47:06 +00:00
Mtftp4Driver.c Fix GCC build fail issue for MdeModulePkg and NetworkPkg. 2012-12-17 06:48:35 +00:00
Mtftp4Driver.h 1. Add EFI_COMPONENT_NAME2_PROTOCOL.GetControllerName() support. 2012-12-13 06:47:06 +00:00
Mtftp4Dxe.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
Mtftp4Dxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Mtftp4DxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
Mtftp4Impl.c MdeModulePkg: Fixed two issues when error occurs in Mtftp4Start. 2018-01-10 08:30:18 +08:00
Mtftp4Impl.h Fix GCC build fail issue for MdeModulePkg and NetworkPkg. 2012-12-17 06:48:35 +00:00
Mtftp4Option.c Update the copyright notice format 2010-04-24 09:33:45 +00:00
Mtftp4Option.h Update the copyright notice format 2010-04-24 09:33:45 +00:00
Mtftp4Rrq.c MdeModulePkg: Source fixes and cleanup for ARMGCC compiles 2014-12-04 00:32:24 +00:00
Mtftp4Support.c MdeModulePkg: Fix a bug that return type differs from the left one when assigned. 2015-07-10 06:57:22 +00:00
Mtftp4Support.h Fix a bug that mtftp4 driver reply 2 ACK in answer to incoming No.65535 block data. That issue incurs incorrect network transfer. 2010-07-01 09:08:33 +00:00
Mtftp4Wrq.c MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak. 2018-01-10 08:30:24 +08:00