View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010523VTK(No Category)public2010-04-08 14:022016-08-12 09:55
Reporterda xu 
Assigned ToBerk Geveci 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010523: vtkTecPlotReader memory leak
Descriptionin 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();
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036251)
Berk Geveci (administrator)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2010-04-08 14:02 da xu New Issue
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2014-10-04 20:37 Berk Geveci Assigned To => Berk Geveci
2014-10-04 20:37 Berk Geveci Status expired => backlog
2014-10-04 20:37 Berk Geveci Resolution open => reopened
2016-07-06 16:48 Berk Geveci Status backlog => expired
2016-07-06 16:48 Berk Geveci Note Added: 0036251
2016-08-12 09:55 Kitware Robot Note Added: 0037160
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution reopened => moved


Copyright © 2000 - 2018 MantisBT Team