Ignore:
Timestamp:
10/29/06 18:17:38 (18 years ago)
Author:
mattausch
Message:

removed memory leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp

    r1695 r1696  
    160160        //be ignored. Use it as you will! 
    161161        //note: from GDNet Direct [3.8.04 - 3.14.04] void detectMemoryLeaks() { 
    162 #if 0 
     162#if 1 
    163163  _CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF|_CRTDBG_ALLOC_MEM_DF); 
    164164  _CrtSetReportMode(_CRT_ASSERT,_CRTDBG_MODE_FILE); 
     
    325325          preprocessor->mUseGlDebugger = false; 
    326326        } 
    327          
     327 
    328328        if (!(preprocessor->mUseGlRenderer || preprocessor->mUseGlDebugger)) { 
    329           // just call the mail method -> will be executed in the main thread 
    330           pt->Main(); 
    331         } 
    332          
     329                // just call the mail method -> will be executed in the main thread 
     330                pt->Main(); 
     331        }        
     332 
    333333        // release memory 
    334334        Cleanup(); 
Note: See TracChangeset for help on using the changeset viewer.