diff options
Diffstat (limited to 'PerformancePkg')
-rw-r--r-- | PerformancePkg/Dp_App/DpUtilities.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/DpUtilities.c b/PerformancePkg/Dp_App/DpUtilities.c index 0d4e17acc1..f44745fd1d 100644 --- a/PerformancePkg/Dp_App/DpUtilities.c +++ b/PerformancePkg/Dp_App/DpUtilities.c @@ -289,7 +289,7 @@ GetNameFromHandle ( &gEfiLoadedImageDevicePathProtocolGuid,
(VOID **) &LoadedImageDevicePath
);
- if (!EFI_ERROR (Status)) {
+ if (!EFI_ERROR (Status) && (LoadedImageDevicePath != NULL)) {
DevicePath = LoadedImageDevicePath;
//
|