MantisBT - VTK
View Issue Details
0010523VTK(No Category)public2010-04-08 14:022016-08-12 09:55
da xu 
Berk Geveci 
normalminoralways
closedmoved 
 
 
0010523: vtkTecPlotReader memory leak
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();
No tags attached.
Issue History
2010-04-08 14:02da xuNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2014-10-04 20:37Berk GeveciAssigned To => Berk Geveci
2014-10-04 20:37Berk GeveciStatusexpired => backlog
2014-10-04 20:37Berk GeveciResolutionopen => reopened
2016-07-06 16:48Berk GeveciStatusbacklog => expired
2016-07-06 16:48Berk GeveciNote Added: 0036251
2016-08-12 09:55Kitware RobotNote Added: 0037160
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionreopened => moved

Notes
(0036251)
Berk Geveci   
2016-07-06 16:48   
Setting to status of bugs that have not been updated in the last year to expired. Please re-open if still important.
(0037160)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.