[osg-submissions] osgIntrospection memory leaks & false positive on windows

Emmanuel Roche roche.emmanuel at gmail.com
Thu Feb 21 00:25:08 PST 2008


Hi,

I'm joining two zip files to this mail for the modified sources and include
files of osgIntrospection.

The modifications I made are very small but they are absolutely usefull to
use osgIntrospection with visual studio 7.1 or 8 in debug modes.
This should also solve other minor common problems (converter memory leak,
virtual destructor for PropertyInfo, etc...).

I choosed two function names : Reflection::uninitialize() and Type::reset(),
this can of course be changed if someone has a better idea...

I made the changes against OSG 2.2.0 public release. I tested the result
with VS 7.1, VS 7.1 SP1, VS 8.0 SP1 and AQTime 5.0 on Windows XP SP2... All
4 seem to agree : they detected memory leaks before and don't anymore.

Sorry I haven't take the time to test that on linux but the changes are so
small I doubt there could be a problem... I let you check that on your side
:-).

I hope this will help making OSG an even more wonderfull library.

Regards,
Manu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080221/340dab16/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgIntrospection_include.zip
Type: application/zip
Size: 10932 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080221/340dab16/attachment.zip 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgIntrospection_src.zip
Type: application/zip
Size: 4122 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080221/340dab16/attachment-0001.zip 


More information about the osg-submissions mailing list