ArmPkg,ArmPlatformPkg: Free memory allocated by Get.*SpaceMap()
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14507 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
committed by
oliviermartin
parent
6ea162c214
commit
5b53eaffe8
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user