vtkTecPlotReader memory leak
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
in vtkTecPlotReader::GetArraysFromBlockPackingZone and vtkTecplotReader::GetArraysFromPointPackingZone, vtkFloatArrays are created but not deleted - resulting in a memory leak.
After their creation, they are stored into a vtkstd::vector< vtkFloatArray * > zoneData. At the end of both functions, a call to zoneData.clear() is made - however this does not dereference the vtkFloatArray* that they store.
The solution is to replace zoneData.clear() with
for (int a=0; a<zoneData.size(); a++) zoneData[a]->Delete();