audk/MdeModulePkg/Bus/Pci/NvmExpressDxe
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
..
ComponentName.c MdeModulePkg/NvmExpressDxe: Fix wrong logic in GetControllerName() 2015-12-01 00:40:37 +00:00
NvmExpress.c MdeModulePkg/NvmExpressDxe: Memory leak fix in async code flow 2017-03-21 10:01:44 +08:00
NvmExpress.h MdeModulePkg/NvmExpressDxe: Memory leak fix in async code flow 2017-03-21 10:01:44 +08:00
NvmExpressBlockIo.c MdeModulePkg NvmExpressDxe: Add BlockIo2 support 2016-05-19 12:37:59 +08:00
NvmExpressBlockIo.h MdeModulePkg NvmExpressDxe: Add BlockIo2 support 2016-05-19 12:37:59 +08:00
NvmExpressDiskInfo.c Fix CRLF format 2014-01-22 08:38:50 +00:00
NvmExpressDiskInfo.h Fix CRLF format 2014-01-22 08:38:50 +00:00
NvmExpressDxe.inf MdeModulePkg NvmExpressDxe: Add BlockIo2 support 2016-05-19 12:37:59 +08:00
NvmExpressDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NvmExpressDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
NvmExpressHci.c MdeModulePkg: Remove superfluous return statements 2017-01-20 15:29:18 +08:00
NvmExpressHci.h MdeModulePkg: Move/Replace NvmExpressHci.h definitions to Nvme.h. 2016-05-27 13:31:35 +08:00
NvmExpressPassthru.c MdeModulePkg/NvmExpressDxe: Memory leak fix in async code flow 2017-03-21 10:01:44 +08:00