diff options
-rw-r--r-- | MdeModulePkg/Library/GenericBdsLib/BdsMisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c b/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c index 9482cbe119..499d0f30b3 100644 --- a/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c +++ b/MdeModulePkg/Library/GenericBdsLib/BdsMisc.c @@ -1014,6 +1014,7 @@ BdsLibGetImageHeader ( &Root
);
if (EFI_ERROR (Status)) {
+ Root = NULL; goto Done;
}
|