From 87996e8f4484321544564ca443374bd1a519926d Mon Sep 17 00:00:00 2001 From: dsarrut Date: Thu, 10 Mar 2011 15:57:09 +0000 Subject: [PATCH] Correct destructor --- vv/vvROIActor.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vv/vvROIActor.cxx b/vv/vvROIActor.cxx index 253a290..582b078 100644 --- a/vv/vvROIActor.cxx +++ b/vv/vvROIActor.cxx @@ -51,6 +51,8 @@ vvROIActor::vvROIActor() //------------------------------------------------------------------------------ vvROIActor::~vvROIActor() { + for(uint i= 0; iGetNumberOfSlicers(); i++) { + mImageContour.push_back(new vvImageContour); mImageContour[i]->SetSlicer(mSlicerManager->GetSlicer(i)); mImageContour[i]->SetImage(mROI->GetImage()); -- 2.47.1