From: dsarrut Date: Thu, 10 Mar 2011 15:57:09 +0000 (+0000) Subject: Correct destructor X-Git-Tag: v1.2.0~189 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=87996e8f4484321544564ca443374bd1a519926d;p=clitk.git Correct destructor --- 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());