A bug in vtkDataSetSurfaceFilter.cxx - memory leak
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
This issue is related with my previous one with ID 0012288 (memory leaks in vtkDLG when loading PentaHexa.vtk).
The memory leak is concerned with function vtkDataSetSurfaceFilter::InsertPolygonInHash
At the line 1595 of vtkDataSetSurfaceFilter.cxx after comment "That is all we need to do. Hide any tri shared by two or more cells." just only "return" is written and the "tab" memory isn't deallocated.
The following replace is needed at the line #1595. Was: return;
Should be: delete [] tab; // MUST deallocate memory before return return;