Commit 3481c1ca authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3488 from jeremyhu:PR-4048

parents c5b6c045 35f96d6d
......@@ -95,11 +95,8 @@ bool CvCalibFilter::SetEtalon( CvCalibEtalonType type, double* params,
Stop();
if (latestPoints != NULL)
{
for( i = 0; i < MAX_CAMERAS; i++ )
cvFree( latestPoints + i );
}
if( type == CV_CALIB_ETALON_USER || type != etalonType )
{
......@@ -523,8 +520,6 @@ void CvCalibFilter::DrawPoints( CvMat** dstarr )
return;
}
if( latestCounts )
{
for( i = 0; i < cameraCount; i++ )
{
if( dstarr[i] && latestCounts[i] )
......@@ -583,7 +578,6 @@ void CvCalibFilter::DrawPoints( CvMat** dstarr )
}
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment