EgtMachKernel 2.2k5 :

- corretta CreateMachMgr in caso di errore ora restituisce nullptr.
This commit is contained in:
Dario Sassi
2020-11-19 15:23:52 +00:00
parent e2164dfc57
commit 5f0afffd28
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ CreateMachMgr( void)
{
// verifico la chiave e le opzioni
if ( ! TestKeyForEMk( GetEMkKey(), 0, GetEMkLogger()))
return false ;
return nullptr ;
// creo il MachMgr
return static_cast<IMachMgr*> ( new(nothrow) MachMgr) ;
}