mirror of https://github.com/acidanthera/audk.git
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:
parent
9937b36506
commit
62c236c065
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue