Commit a4d5d240 authored by Nicolas Vuaille's avatar Nicolas Vuaille
Browse files

Fix leak in moleculemapper

parent 38fe6b32
...@@ -144,6 +144,7 @@ vtkMoleculeMapper::vtkMoleculeMapper() ...@@ -144,6 +144,7 @@ vtkMoleculeMapper::vtkMoleculeMapper()
vtkMoleculeMapper::~vtkMoleculeMapper() vtkMoleculeMapper::~vtkMoleculeMapper()
{ {
this->SetLookupTable(nullptr); this->SetLookupTable(nullptr);
this->SetAtomicRadiusArrayName(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