Commit 8a140637 authored by Amy Squillacote's avatar Amy Squillacote
Browse files

BUG: fixing memory leak

parent f95b1a3f
......@@ -45,7 +45,7 @@
#include <math.h>
vtkCxxRevisionMacro(vtkFixedPointVolumeRayCastMapper, "1.35");
vtkCxxRevisionMacro(vtkFixedPointVolumeRayCastMapper, "1.36");
vtkStandardNewMacro(vtkFixedPointVolumeRayCastMapper);
vtkCxxSetObjectMacro(vtkFixedPointVolumeRayCastMapper, RayCastImage, vtkFixedPointRayCastImage);
......@@ -1332,6 +1332,7 @@ void vtkFixedPointVolumeRayCastMapper::UpdateMinMaxVolume( vtkVolume *vol )
this->SavedMinMaxFlagTime.Modified();
delete [] minNonZeroGradientMagnitudeIndex;
delete [] minNonZeroScalarIndex;
}
void vtkFixedPointVolumeRayCastMapper::UpdateCroppingRegions()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment