> If I use m_SkyNode.release(), the memory increases again and again. >
The release() function unassigns the pointer, but without freeing it (see the function documentation). What you want instead is Code: m_SkyNode = NULL; You seem to be fairly confused about the concept of shared pointers, so perhaps you should read up on that concept before diving into using them with the OSG. > [/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=64472#64472 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

