diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-21 06:59:58 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-11-21 06:59:58 +0000 |
commit | f4113e1fdb95c35145a86067c82267610625de74 (patch) | |
tree | 4efb6f59e9017229404781f2dcbc082178f21503 /MdeModulePkg/Universal/HiiDatabaseDxe | |
parent | e38fc273849da854be2c9392b5e1bc3178f7f0bc (diff) | |
download | edk2-platforms-f4113e1fdb95c35145a86067c82267610625de74.tar.xz |
1) Remove the variable initalization in declaration.
2) Change all gBS->FreePool to use the MdePkg/BaseLib's FreePool.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6662 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/HiiDatabaseDxe')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c index c853dc2f52..037c8cc4f3 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c @@ -301,7 +301,7 @@ ReallocatePool ( CopyMem (NewPool, OldPool, OldSize < NewSize ? OldSize : NewSize);
}
- gBS->FreePool (OldPool);
+ FreePool (OldPool);
}
return NewPool;
@@ -779,7 +779,7 @@ HiiConfigRoutingExportConfig ( AccessResults = NULL;
}
}
- gBS->FreePool (ConfigAccessHandles);
+ FreePool (ConfigAccessHandles);
return EFI_SUCCESS;
}
|