Changes in src/analyzer.cpp [a67d19:920c70]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/analyzer.cpp
ra67d19 r920c70 75 75 return 1; 76 76 } else { 77 dir = Malloc<char>(strlen(argv[2]) + 2, "main: *dir");77 dir = new char[strlen(argv[2]) + 2]; 78 78 strcpy(dir, "/"); 79 79 strcat(dir, argv[2]); … … 82 82 if (argc > 4) { 83 83 DoLog(0) && (Log() << Verbose(0) << "Loading periodentafel." << endl); 84 periode = Malloc<periodentafel>(1, "main - periode");84 periode = new periodentafel; 85 85 periode->LoadPeriodentafel(argv[4]); 86 86 } … … 558 558 // ++++++++++++++++ exit ++++++++++++++++++++++++++++++++++ 559 559 delete(periode); 560 Free(&dir);560 delete[](dir); 561 561 DoLog(0) && (Log() << Verbose(0) << "done." << endl); 562 562 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.