MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010523 | VTK | (No Category) | public | 2010-04-08 14:02 | 2016-08-12 09:55 |
| Reporter | da xu | ||||
| Assigned To | Berk Geveci | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0010523: vtkTecPlotReader memory leak | ||||
| Description | 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(); | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||