[Insight-users] Memory leak using itkImageFileReader

Luis Ibanez luis.ibanez at kitware.com
Wed Jul 25 07:26:45 EDT 2007


Hi Phillip,

1) What version of ITK are you using ?

2) What is your platform ?

3) Who is reporting the memory leak ? (Visual Studio? Valgrind?)
     in Valgrind you actually get the report on where the leak originated
from.


Please let us know,

   Thanks


       Luis

-------------------------------------------------------------------
On 7/25/07, Chow, Phillip E. <PEChow at mednet.ucla.edu> wrote:
>
> Hi,
>
> 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
>
> #include "itkImageFileReader.h"
>
> 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.
>
> Phillip Chow
>
>
> ----------------------------------------------------------
> 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.
> ----------------------------------------------------------
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070725/9265fcf6/attachment.htm


More information about the Insight-users mailing list