Handle out of memory case (#193)

This commit is contained in:
John Machado 2024-03-07 12:32:29 +05:30 committed by GitHub
parent 0d744fbcd2
commit fdd1f774a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -1005,6 +1005,10 @@ GMM_CLIENT ClientType)
this->GtSysInfo = *pGtSysInfo;
this->pPlatformInfo = CreatePlatformInfo(Platform, false);
if(this->pPlatformInfo == NULL)
{
return GMM_ERROR;
}
OverrideSkuWa();