[vtk-developers] [VTK 0012645]: Memory leaks in graphics\vtkdatasetsurfacefilter.cxx
Mantis Bug Tracker
mantis at public.kitware.com
Wed Oct 12 09:28:16 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12645
======================================================================
Reported By: Tran Nam Van
Assigned To:
======================================================================
Project: VTK
Issue ID: 12645
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: high
Status: backlog
Project: Kitware
Type: performance
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-10-12 09:28 EDT
Last Modified: 2011-10-12 09:28 EDT
======================================================================
Summary: Memory leaks in graphics\vtkdatasetsurfacefilter.cxx
Description:
A Leak was found:
vtkGraphics: File graphics\vtkdatasetsurfacefilter.cxx
void vtkDataSetSurfaceFilter::InsertPolygonInHash(vtkIdType* ids, int numPts,
vtkIdType sourceId)
{
...
// Memory leak !!!
vtkIdType* tab = new vtkIdType[numPts];
...
if (match)
{
// We have a match.
quad->SourceId = -1;
// That is all we need to do. Hide any tri shared by two or more cells.
return; // without delete tab
}
}
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-10-12 09:28 Tran Nam Van New Issue
======================================================================
More information about the vtk-developers
mailing list