X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=PackRecalage%2Fsrc%2FbbPackRecalageImageSubstraction.cxx;h=fc286d75e46f872010a9d226f69a40371bd45719;hb=3707df370a2c5b61006233977fb91c5652e0ffea;hp=46864cc1435802063b803ac11592a7729509575c;hpb=ef1b2d78a9c08ea55e470608a6a8fe0fa1ad6099;p=creaRigidRegistration.git diff --git a/PackRecalage/src/bbPackRecalageImageSubstraction.cxx b/PackRecalage/src/bbPackRecalageImageSubstraction.cxx index 46864cc..fc286d7 100644 --- a/PackRecalage/src/bbPackRecalageImageSubstraction.cxx +++ b/PackRecalage/src/bbPackRecalageImageSubstraction.cxx @@ -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