Commit 5ec06964 authored by Allison Vacanti's avatar Allison Vacanti
Browse files

Fix a couple of memory leaks in ParaView.

parent 81f25a55
......@@ -59,6 +59,7 @@ vtkFileSequenceParser::~vtkFileSequenceParser()
delete this->reg_ex3;
delete this->reg_ex4;
delete this->reg_ex5;
delete this->reg_ex_last;
this->SetSequenceName(NULL);
}
......
......@@ -160,6 +160,7 @@ vtkContext2DScalarBarActor::~vtkContext2DScalarBarActor()
this->SetTitleTextProperty(NULL);
this->SetLabelTextProperty(NULL);
this->Axis->Delete();
this->SetRangeLabelFormat(nullptr);
}
//----------------------------------------------------------------------------
......
Markdown is supported
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