Fix check error.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7996 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-04-01 03:04:24 +00:00
parent 9937b36506
commit 62c236c065
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ LangCodes3066To639 (
// Allocate working buffer to contain substring of LangCodes3066.
//
Lang = AllocatePool (AsciiStrSize (LangCodes3066));
if (Lang != NULL) {
if (Lang == NULL) {
return EFI_OUT_OF_RESOURCES;
}