[osg-users] How to track down memory leaks?
Igor Spiridonov
igwasm at rambler.ru
Thu Jul 12 12:41:31 PDT 2018
Here is simple project which reproduces this issue - RefCountTest (https://bitbucket.org/OmegaDoom/osgrefcounttest)
It's a visual studio project with qt and osg. Not sure you are using windows but the main code in scene.cpp. ref count checks inside "Scene::operator()(osg::Node* node, osg::NodeVisitor* nv)"
I expect both checks to return 1 but first one returns 2 as I explained earlier.
I suppose it's the cause of memleak. I use osg 3.2.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=74334#74334
More information about the osg-users
mailing list