]> Creatis software - creaRigidRegistration.git/blobdiff - PackRecalage/src/bbPackRecalageImageSubstraction.cxx
*** empty log message ***
[creaRigidRegistration.git] / PackRecalage / src / bbPackRecalageImageSubstraction.cxx
index 46864cc1435802063b803ac11592a7729509575c..fc286d75e46f872010a9d226f69a40371bd45719 100644 (file)
@@ -35,12 +35,10 @@ void ImageSubstraction::bbUserInitializeProcessing()
 }
 void ImageSubstraction::bbUserFinalizeProcessing()
 {
-//  THE FINALIZATION METHOD BODY : 
-//    Here does nothing  
-//    but this is where you should desallocate the internal/output pointers  
-//    if any
-  
+       if(subImage!=NULL)
+       {
+               delete subImage;
+       }
 }
 }
 // EO namespace bbCreaRecalage