[Insight-users] Memory Management

Michael Jackson mike.jackson at bluequartz.net
Tue Mar 31 17:25:46 EDT 2009


_Still_ kinda new to itk and I am trying to track down a memory leak  
in my program. I just want to make sure that if I stick to things like:

MetricType::Pointer metric = MetricType::New(); that when that  
variable goes out of scope that the object will be destroyed?

Thanks for the sanity check.

_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio





More information about the Insight-users mailing list