<br>Hi Phillip,<br><br>1) What version of ITK are you using ?<br><br>2) What is your platform ?<br><br>3) Who is reporting the memory leak ? (Visual Studio? Valgrind?)<br> in Valgrind you actually get the report on where the leak originated from.
<br><br><br>Please let us know,<br><br> Thanks<br><br><br> Luis<br><br>-------------------------------------------------------------------<br><div><span class="gmail_quote">On 7/25/07, <b class="gmail_sendername">
Chow, Phillip E.</b> <<a href="mailto:PEChow@mednet.ucla.edu">PEChow@mednet.ucla.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I'm brand new to itk, so I'm sure there's a simple solution to my problem. I seem to have a memory leak when I use the itkImageFileReader object. Even if I don't actually instantiate the object there's a leak, it just gets worse if I do. If I just include the header
<br><br>#include "itkImageFileReader.h"<br><br>the leak occurs and if I comment that line out, the leak disappears. Is there something I must allocate/deallocate when using the itkImageFileReader object? I'm able to use the itkImageFileWriter object with no problems at all.
<br><br>Phillip Chow<br><br><br>----------------------------------------------------------<br>IMPORTANT WARNING: This email (and any attachments) is only intended for the use of the person or entity to which it is addressed, and may contain information that is privileged and confidential. You, the recipient, are obligated to maintain it in a safe, secure and confidential manner. Unauthorized redisclosure or failure to maintain confidentiality may subject you to federal and state penalties. If you are not the recipient, please immediately notify us by return email, and delete this message from your computer.
<br>----------------------------------------------------------<br><br><br>_______________________________________________<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br>
<a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br><br></blockquote></div><br>