EgtMachKernel 2.2k5 :
- corretta CreateMachMgr in caso di errore ora restituisce nullptr.
This commit is contained in:
+1
-1
@@ -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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user