Ignore:
Timestamp:
Jul 29, 2010, 8:39:55 AM (14 years ago)
Author:
Torben Dannhauer
Message:

Moved memory leak detection from source file to headerfile. Its still in the class but at least not in the source file.

The leak detection works, but the false positives are not stopped.
Use Linux/Valgrind? to make your final leak detection beyond the easy first approach in MSVC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/core/visual_core.cpp

    r87 r88  
    2323{
    2424        OSG_NOTIFY( osg::ALWAYS ) << "visual_core instantiated." << std::endl;
    25         #include <leakDetection.h>
    2625}
    2726
     
    4948
    5049        // Test memory leak (todo)
    51         //double* test = new double[1000];
     50        double* test = new double[1000];
    5251
    5352        #ifdef USE_SPACENAVIGATOR
Note: See TracChangeset for help on using the changeset viewer.