Refine some code to make the code run safely.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10863 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
ydong10
2010-09-10 01:04:00 +00:00
parent 18bd7f34e9
commit e009609938
15 changed files with 60 additions and 59 deletions

View File

@@ -489,6 +489,7 @@ Returns:
EFI_HII_HANDLE *HiiHandleBuffer;
EFI_GUID Guid;
HiiHandleBuffer = NULL;
Status = GetHiiHandles (&HandleBufferLen, &HiiHandleBuffer);
if (EFI_ERROR(Status)) {
return Status;