Commit 7a76c042 authored by Will Schroeder's avatar Will Schroeder
Browse files

ERR:Fixed memory leak

parent 8e692744
......@@ -69,7 +69,6 @@ vtkUnsignedCharArray *vtkScalarsToColors::MapScalars(vtkDataArray *scalars,
newColors = vtkUnsignedCharArray::New();
newColors->SetNumberOfComponents(4);
newColors->SetNumberOfTuples(scalars->GetNumberOfTuples());
newColors->Register(this);
this->
MapScalarsThroughTable2(scalars->GetVoidPointer(comp),
newColors->GetPointer(0),
......
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