fix test suite memory leak from testDeepTiledBasic
@@ -753,8 +753,6 @@ void readFile (int channelCount,
for (int j = 0; j < file.levelWidth(lx); j++)
{
for (int k = 0; k < channelCount; k++)
- {
- if( !randomChannels || read_channel[k]==1)
{
if (channelTypes[k] == 0)
delete[] (unsigned int*) data[k][i][j];
@@ -763,7 +761,6 @@ void readFile (int channelCount,
if (channelTypes[k] == 2)
delete[] (float*) data[k][i][j];
}
- }
for( int f = 0 ; f < fillChannels ; ++f )
{
delete[] (float*) data[f+channelTypes.size()][i][j];
