mirror of https://github.com/acidanthera/audk.git
f2333c707d
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> |
||
---|---|---|
.. | ||
ComponentName.c | ||
NvmExpress.c | ||
NvmExpress.h | ||
NvmExpressBlockIo.c | ||
NvmExpressBlockIo.h | ||
NvmExpressDiskInfo.c | ||
NvmExpressDiskInfo.h | ||
NvmExpressDxe.inf | ||
NvmExpressDxe.uni | ||
NvmExpressDxeExtra.uni | ||
NvmExpressHci.c | ||
NvmExpressHci.h | ||
NvmExpressPassthru.c |