audk/MdeModulePkg/Bus
Suman Prakash f2333c707d MdeModulePkg/NvmExpressDxe: Memory leak fix in async code flow
For async commands, the buffer allocated for Prp list is
not getting freed, which will cause memory leak for async
read write command. For example testing async command flow
with custom application to send multiple read write commands
were resulting in decrease of available memory page in memmap,
which eventually resulted in system hang. Hence freeing
AsyncRequest->MapData, AsyncRequest->MapMeta, AsyncRequest->MapPrpList and
AsyncRequest->PrpListHost when async command is completed.

Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Suman Prakash <suman.p@samsung.com.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
2017-03-21 10:01:44 +08:00
..
Ata
I2c/I2cDxe
Isa MdeModulePkg Ps2KbDxe: Execute key notify func at TPL_CALLBACK 2016-12-26 18:17:00 +08:00
Pci MdeModulePkg/NvmExpressDxe: Memory leak fix in async code flow 2017-03-21 10:01:44 +08:00
Scsi
Sd MdeModulePkg/SdMmc: Add break to avoid dead loop when polling OCR Reg 2017-03-13 21:41:46 +08:00
Ufs MdeModulePkg: Refine casting expression result to bigger size 2017-03-06 14:33:20 +08:00
Usb MdeModulePkg UsbKbDxe: Execute key notify func at TPL_CALLBACK 2016-12-26 18:16:58 +08:00