- A couple of small fixes for memory and initialization problems.
This is to make valgrind happy SKIPPED: psi/amorscan.c psi/el734hp.c psi/psi.c psi/tasscan.c
This commit is contained in:
8
mesure.c
8
mesure.c
@@ -322,7 +322,7 @@ typedef struct {
|
||||
if(pVar)
|
||||
{
|
||||
fVal = pVar->pInter->GetValue(pVar->pObject,self->pCon);
|
||||
pVar->fData[iPoint] = fVal;
|
||||
AppendScanVar(pVar,fVal);
|
||||
sprintf(pItem,"%-10.10s",pVar->Name);
|
||||
strcat(pHead,pItem);
|
||||
sprintf(pItem,"%-10.3f",fVal);
|
||||
@@ -419,8 +419,7 @@ static float determineStepWidth(pMesure self, float two_theta)
|
||||
}
|
||||
|
||||
/*
|
||||
check if we are really there. All this only because Jurg
|
||||
does not fix his rotten cradle.
|
||||
check if we are really there.
|
||||
*/
|
||||
CalculateSettings(self->pCryst,fHKL,fPsi,0,fSet,pCon);
|
||||
for(i = 0; i < 4; i++)
|
||||
@@ -503,8 +502,7 @@ static float determineStepWidth(pMesure self, float two_theta)
|
||||
}
|
||||
|
||||
/*
|
||||
check if we are really there. All this only because Jurg
|
||||
does not fix his rotten cradle.
|
||||
check if we are really there.
|
||||
*/
|
||||
for(i = 0; i < 4; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user