audk/MdeModulePkg/Universal/Network
Wang Fan 479a3b6053 MdeModulePkg/Dhcp4Dxe: Free NET_BUF data after sent out to avoid memory leak
* When build a DHCP message in function DhcpSendMessage() or DhcpRetransmit(),
a new NET_BUF is created by the library of NetbufFromExt, but it's not freed
after it is sent out. This patch is to fix this memory leak issue.

V2:
* Since packet has already been referred by DhcpSb->LastPacket, and will be
freed when sending another packet or clean up, there is no need to add an
extra free function in NetbufFromExt.

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: Jiaxin Wu <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
2018-01-11 08:56:10 +08:00
..
ArpDxe MdeModulePkg: Update IP4 stack drivers for classless address unicast check. 2016-10-28 14:20:10 +08:00
Dhcp4Dxe MdeModulePkg/Dhcp4Dxe: Free NET_BUF data after sent out to avoid memory leak 2018-01-11 08:56:10 +08:00
DpcDxe MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
IScsiDxe MdeModulePkg/IScsiDxe: Set ExitBootServiceEvent to NULL after close it. 2018-01-10 08:33:15 +08:00
Ip4Dxe MdeModulePkg/Ip4Dxe: Clean up IP4 interface if failed to open ARP protocol. 2017-12-22 13:48:24 +08:00
MnpDxe MdeModulePkg/MnpDxe: Fix EBC build hang issue. 2017-06-02 13:17:17 +08:00
Mtftp4Dxe MdeModulePkg: Freed packet buffer when error occurs to avoid memory leak. 2018-01-10 08:30:24 +08:00
SnpDxe MdeModulePkg/SNP: remove redundant DEBUG print in SNP Transmit.c 2017-11-16 14:09:21 +08:00
Tcp4Dxe MdeModulePkg/Network: Typo fix 2017-06-14 10:51:29 +08:00
Udp4Dxe MdeModulePkg/Network: Fix potential ASSERT if NetIp4IsUnicast is called 2017-03-23 11:39:15 +08:00
UefiPxeBcDxe MdeModulePkg: Update Api from NetLibDetectMedia to NetLibDetectMediaWaitTimeout. 2017-12-18 16:38:22 +08:00
VlanConfigDxe MdeModulePkg: Replace [Ascii|Unicode]ValueToString 2017-03-02 09:58:11 +08:00