diff options
Diffstat (limited to 'ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c')
-rw-r--r-- | ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c index fafc64f..4dd7dd9 100644 --- a/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c +++ b/ShellPkg/DynamicCommand/DpDynamicCommand/Dp.c @@ -257,7 +257,7 @@ GetBootPerformanceTable ( &AcpiTable
);
}
- if (EFI_ERROR(Status)) {
+ if (EFI_ERROR(Status) || AcpiTable == NULL) {
return Status;
}
|