- _fd = NULL;
- pos = 0;
- //it = NULL; // JPRx
- //bool inic = false; // JPRx
-}
-//------------------------------------------------------------
-void ContourToControlPoints::bbUserCopyConstructor()
-{
-}
-//------------------------------------------------------------
-void ContourToControlPoints::bbUserDestructor()
-{
-}
+ }
+
+ //-----------------------------------------------------------------
+ void ContourToControlPoints::bbUserFinalizeProcessing()
+ {
+ if (_contprop!=NULL) delete _contprop;
+ if (_propgdata!=NULL) delete _propgdata;
+ if (_imagedata!=NULL) _imagedata->Delete();
+ if (_ext2D!=NULL) delete _ext2D;
+
+ _contprop = NULL;
+ _propgdata = NULL;
+ _imagedata = NULL;
+ _ext2D = NULL;
+ }
+
+ //-----------------------------------------------------------------
+
+