MantisBT - VTK
View Issue Details
0004182VTK(No Category)public2006-12-08 04:302013-04-05 19:57
xabi riobe 
Lisa Avila 
lowminoralways
closedfixed 
 
 
0004182: memory leak in vtkFixedPointVolumeRayCastMapper
there is a memory leak in vtkFixedPointVolumeRayCastMapper produced in method UpdateMinMaxVolume.

adding the following lines at the end resolve it:
delete minNonZeroScalarIndex;
delete minNonZeroGradientMagnitudeIndex;
No tags attached.
Issue History
2008-04-14 06:31Xiang FanNote Added: 0011274
2008-05-06 15:31Lisa AvilaStatustabled => @80@
2008-05-06 15:31Lisa AvilaResolutionopen => fixed
2008-05-06 15:31Lisa AvilaNote Added: 0011724
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2013-04-05 19:57Berk GeveciStatuscustomer review => closed

Notes
(0006518)
xabi riobe   
2007-02-21 15:57   
more memory leaks in same class, method vtkFixedPointVolumeRayCastMapperComputeCS1CGradients:

dxBuffer, dyBuffer, dzBuffer are created with new and not deleted.

resolve it by adding at the end of tthe method:
delete dxBuffer;
delete dyBuffer;
delete dzBuffer;
(0011274)
Xiang Fan   
2008-04-14 06:31   
vtkFixedPointVolumeRayCastMapper::UpdateMinMaxVolume should call
"
delete []minNonZeroScalarIndex;
delete []minNonZeroGradientMagnitudeIndex;
"
at the end of the function

This bug still exists in VTK 5.0.4
(0011724)
Lisa Avila   
2008-05-06 15:31   
Seems to be already fixed but was never closed.