[Insight-users] Memory leak using itkImageFileReader
Luis Ibanez
luis.ibanez at kitware.com
Sun Jul 29 21:19:46 EDT 2007
Hi Philip,
Thanks for reporting this,
We are tracking the source of the leak,
and so far it seems to originate from
the inclusion of the file:
itksys/SystemTools.hxx
in the itkImageFileReader.txx that is
included at the end of itkImageFileReader.h.
We are still trying to pinpoint the exact
location of the leak.
Thanks
Luis
------------------------
Chow, Phillip E. 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
More information about the Insight-users
mailing list