]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/NvmExpress: Fix mem leak in error handling of Start()
authorTian Feng <feng.tian@intel.com>
Tue, 24 Nov 2015 06:35:28 +0000 (14:35 +0800)
committerFeng Tian <feng.tian@intel.com>
Tue, 26 Apr 2016 07:44:54 +0000 (15:44 +0800)
commitac231001f5c08356b236dc96aacb3015720cddf0
treefd4472ac7a1a1c53ad707f234803610808aed4f6
parentbd2388ab12984e0185d0c0c91729f2afdf631467
MdeModulePkg/NvmExpress: Fix mem leak in error handling of Start()

Memory pointed to by Private->ControllerData has not been freed up
correctly at error handling path.

Cc: Simon (Xiang) Lian-SSI <simon.lian@ssi.samsung.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Simon (Xiang) Lian-SSI <simon.lian@ssi.samsung.com>
MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpress.c