<font size="2" face="Consolas"><font size="2" face="Consolas"><div>                Hi,</div><div> </div><div>I have a memory leaking problem bothered me for hours...</div><div> </div><div>My VS2010 detected a big memory leak after "filter->Update()" of ReconstructionByDilationImageFilter.</div>
<div>The related code is as following: </div></font></font><p><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas"><font color="#0000ff" size="2" face="Consolas">typedef</font></font></font><font size="2" face="Consolas"><font size="2" face="Consolas"> itk::ReconstructionByDilationImageFilter<ImageType, ImageType> FilterType;</font></font></p>
<font size="2" face="Consolas"><font size="2" face="Consolas">
<p>                FilterType::Pointer filter = FilterType::New();</p>
<p>                filter->SetMarkerImage(markerImage);</p>
<p>                filter->SetMaskImage(maskImage);        </p>
<div>                filter->Update();</div><div> </div><div>Do I need to release something after using the filter? What's the related function?</div><div> </div><div>Thanks for any tips!!</div><div> </div><div>Thanks,</div><div>
Tina</div></font></font>