Commit d28aad8a authored by Dave Partyka's avatar Dave Partyka

ENH: cleanup debug leaks.

parent 77aec4d7
......@@ -35,7 +35,7 @@
#include <mpi.h>
#endif
vtkCxxRevisionMacro(vtkVPICReader, "1.3");
vtkCxxRevisionMacro(vtkVPICReader, "1.4");
vtkStandardNewMacro(vtkVPICReader);
//----------------------------------------------------------------------------
......@@ -80,6 +80,10 @@ vtkVPICReader::~vtkVPICReader()
delete [] this->FileName;
}
this->PointDataArraySelection->Delete();
for (int var = 0; var < this->NumberOfVariables; var++) {
this->data[var]->Delete();
}
this->SelectionObserver->Delete();
}
//----------------------------------------------------------------------------
......
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