fixed some small bugs M.Z.

This commit is contained in:
cvs
2004-07-06 13:10:03 +00:00
parent adaef594fe
commit 29e34ef0ca
4 changed files with 5 additions and 5 deletions

View File

@ -736,7 +736,6 @@ static void ErrReport(pEVControl self)
ObParInit(pRes->pParam, SETTLE, "settle", 0., usUser);
/* local initialisations */
pRes->pDriv = pDriv;
if (pDriv->GetValues==NULL) /* if GetValues is undefined, set to default */
{
pDriv->GetValues=StdGetValues;
@ -765,7 +764,7 @@ static void ErrReport(pEVControl self)
DeleteEVController(pRes);
return NULL;
}
pRes->pDriv = pDriv; /* moved here to avoid double freeing on evfactory del */
return pRes;
}
/*---------------------------------------------------------------------------*/