MantisBT - VTK
View Issue Details
0012645VTK(No Category)public2011-10-12 09:282012-01-25 09:49
Tran Nam Van 
Leo Liu 
highminorhave not tried
closedfixed 
5.8.0 
 
Kitware
performance
0012645: Memory leaks in graphics\vtkdatasetsurfacefilter.cxx
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
        }
 }

No tags attached.
Issue History
2011-10-12 09:28Tran Nam VanNew Issue
2012-01-23 10:01Utkarsh AyachitAssigned To => Leo Liu
2012-01-23 10:01Utkarsh AyachitStatusbacklog => tabled
2012-01-24 21:46Leo LiuNote Added: 0027976
2012-01-25 09:49Leo LiuNote Added: 0027977
2012-01-25 09:49Leo LiuStatustabled => closed
2012-01-25 09:49Leo LiuResolutionopen => fixed

Notes
(0027976)
Leo Liu   
2012-01-24 21:46   
It has been fixed in commit 87705c2f
(0027977)
Leo Liu   
2012-01-25 09:49   
It has been fixed in commit 87705c2f