diff options
Diffstat (limited to 'ArmPlatformPkg/Library')
-rw-r--r-- | ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c b/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c index b45e85d9af..9319050b06 100644 --- a/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c +++ b/ArmPlatformPkg/Library/EblCmdLib/EblCmdLib.c @@ -337,6 +337,8 @@ EblDumpGcd ( AsciiPrint ("\n");
}
+ FreePool (MemorySpaceMap);
+
Status = gDS->GetIoSpaceMap(&NumberOfDescriptors,&IoSpaceMap);
if (EFI_ERROR (Status)) {
return Status;
@@ -355,6 +357,8 @@ EblDumpGcd ( AsciiPrint ("\n");
}
+ FreePool (IoSpaceMap);
+
return EFI_SUCCESS;
}
|