[IGSTK-Developers] Memoryleak in igstk

Torleif Sandnes Torleif.Sandnes at sintef.no
Tue Dec 18 09:50:25 EST 2007


Hi.

I think I have found another memoryleak, but this time I don´t know  
where the problem is.
The attached program (~35 lines of code) illustrates the problem;

Using an earlier version of the sandbox, the referencecount of the  
MRImageSpatialObject goes to 0 and the object is destroyed. Using the  
current version, however, the object is not destroyed.

I suspect this may have something to do with the introduction of the  
scenegraph?


Regards,
Torleif


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMakeLists.txt
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20071218/6c5d5527/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmemleak.cpp
Type: application/octet-stream
Size: 943 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/igstk-developers/attachments/20071218/6c5d5527/attachment.obj>


More information about the IGSTK-Developers mailing list