Commit 2d014749 authored by Ken Martin's avatar Ken Martin Committed by Kitware Robot
Browse files

Merge topic 'FixLeakInMoleculeMapper'

a4d5d240

 Fix leak in moleculemapper
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Mathieu Westphal's avatarMathieu Westphal <mathieu.westphal@kitware.com>
Merge-request: !4805
parents 8fea9473 a4d5d240
...@@ -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