Add additional check mRuntimeSmbiosEntryPoint == NULL to avoid K9 error.

Signed-off-by: Elvin Li <elvin.li@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14962 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Elvin Li 2013-12-11 08:53:19 +00:00 committed by li-elvin
parent 4db0b65c06
commit ad793176de
1 changed files with 1 additions and 1 deletions

View File

@ -699,7 +699,7 @@ InstallSmbiosEventCallback (
&gEfiSmbiosTableGuid, &gEfiSmbiosTableGuid,
&mRuntimeSmbiosEntryPoint &mRuntimeSmbiosEntryPoint
); );
if (EFI_ERROR (Status)) { if ((EFI_ERROR (Status)) || (mRuntimeSmbiosEntryPoint == NULL)) {
return; return;
} }