corrected bug: core dump when TecsInit fails
This commit is contained in:
@ -1116,6 +1116,7 @@
|
||||
pNew = CreateEVController(pDriv,argv[2],&iRet);
|
||||
if(!pNew)
|
||||
{
|
||||
TecsError(pDriv, &iRet, pError, sizeof(pError)-1);
|
||||
SCWrite(pCon,"ERROR creating Environment Controller",eError);
|
||||
DeleteEVDriver(pDriv);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user