]> git.proxmox.com Git - mirror_edk2.git/commit
PerformancePkg\Dp_App: Add NULL check to pointer returned from 'AllocateZeroPool'.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 26 Nov 2015 01:47:14 +0000 (01:47 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 26 Nov 2015 01:47:14 +0000 (01:47 +0000)
commitc4ace582532a1c112cdb86c20157072fae058870
tree3f435f48fec033bb1f3f78c8b92c73541f245d26
parent01e3a9767157e4b82ff884c745ab649b34e3cbff
PerformancePkg\Dp_App: Add NULL check to pointer returned from 'AllocateZeroPool'.

When CustomCumulativeToken is not NULL, the CustomCumulativeData is expected non-NULL.
Add 'ASSERT' statement to ensure this.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18955 6f19259b-4bc3-4df7-8a09-765794883524
PerformancePkg/Dp_App/Dp.c