Commit 8e4bde8f authored by Dave DeMarle's avatar Dave DeMarle
Browse files

Fix deletion bug that tests on windows exposed

parent cfae7cc9
......@@ -252,7 +252,6 @@ vtkMPASReader::vtkMPASReader()
vtkMPASReader::~vtkMPASReader()
{
vtkDebugMacro(<< "Destructing vtkMPASReader..." << endl);
delete this->Internals;
if (this->FileName)
{
......@@ -311,6 +310,9 @@ vtkMPASReader::~vtkMPASReader()
{
this->SelectionObserver->Delete();
}
delete this->Internals;
vtkDebugMacro(<< "Destructed vtkMPASReader" << endl);
}
......
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