Ignore:
Timestamp:
02/19/15 14:24:03 (5 years ago)
Author:
jls17
Message:
  • fixed some memory leaks in case memory allocation fails in ARFieldList.cpp and ARSchemaList.cpp
  • small changes to the initialization of the crash handler
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/work_320/Main.cpp

    r333 r679  
    3232int nFilesCreated; 
    3333 
     34CMain::CMain() 
     35{ 
     36        crashHandler = NULL; 
     37} 
     38 
    3439int CMain::Run(int argc, char* argv[]) 
    3540{ 
     
    4651 
    4752                string settingsIni = cmdLineValidator.GetIniFilename(); 
     53 
     54                if (crashHandler != NULL) 
     55                        LOG << "Crash handler is installed" << endl; 
    4856 
    4957                cout << endl << "Load application configuration settings: '" << settingsIni << "' " << endl; 
     
    133141 
    134142        return result; 
     143} 
     144 
     145void CMain::SetCrashHandler(void *pAddr) 
     146{ 
     147        crashHandler = pAddr; 
    135148} 
    136149 
Note: See TracChangeset for help on using the changeset viewer.