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
Mtftp4Driver.c
Mtftp4Driver.h
Mtftp4Dxe.inf
Mtftp4Dxe.uni
Mtftp4DxeExtra.uni
Mtftp4Impl.c MdeModulePkg: Fixed two issues when error occurs in Mtftp4Start. 2018-01-10 08:30:18 +08:00
Mtftp4Impl.h
Mtftp4Option.c
Mtftp4Option.h
Mtftp4Rrq.c
Mtftp4Support.c
Mtftp4Support.h
Mtftp4Wrq.c MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak. 2018-01-10 08:30:24 +08:00