void ReSlicerBox::Process()
{
- if(bbGetInputOrigin()[0] != NULL)
+ if(bbGetInputOrigin()[0])
{
image = vtkImageChangeInformation::New();
image->SetInput( bbGetInputIn() );
// THE FINALIZATION METHOD BODY :
// Here does nothing
// but this is where you should desallocate the internal/output pointers
-// if any
-
+// if any
+ image->Delete();
+ slicer->Delete();
+ imageResult->Delete();
}
}
-// EO namespace bbPackRecalage
\ No newline at end of file
+// EO namespace bbPackRecalage
+