// EndCount = Value counter counts to before it needs to be reset\r
//\r
Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);\r
- if (EFI_ERROR (Status)) {\r
+ if (EFI_ERROR (Status) || (PerformanceProperty == NULL)) {\r
PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));\r
goto Done;\r
}\r