]> Creatis software - clitk.git/blobdiff - vv/vvToolStructureSetManager.h
Put mDefaultLUTColor in smart pointer to avoid memory leak
[clitk.git] / vv / vvToolStructureSetManager.h
index 6ea88085905c8c7e947c2520bbaee140964de05a..8060e8ff8f3286382411061d861bd7906377dfa4 100644 (file)
@@ -72,7 +72,7 @@ protected:
   int mCurrentStructureSetIndex;
   clitk::DicomRT_ROI * mCurrentROI;
   vvROIActor * mCurrentROIActor;
-  vtkLookupTable * mDefaultLUTColor;
+  vtkSmartPointer<vtkLookupTable> mDefaultLUTColor;
   bool mIsAllVisibleEnabled;
   int mNumberOfVisibleROI;
   int mNumberOfVisibleContourROI;