Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/analyzer.cpp

    ra67d19 r920c70  
    7575    return 1;
    7676  } else {
    77     dir = Malloc<char>(strlen(argv[2]) + 2, "main: *dir");
     77    dir = new char[strlen(argv[2]) + 2];
    7878    strcpy(dir, "/");
    7979    strcat(dir, argv[2]);
     
    8282  if (argc > 4) {
    8383    DoLog(0) && (Log() << Verbose(0) << "Loading periodentafel." << endl);
    84     periode = Malloc<periodentafel>(1, "main - periode");
     84    periode = new periodentafel;
    8585    periode->LoadPeriodentafel(argv[4]);
    8686  }
     
    558558  // ++++++++++++++++ exit ++++++++++++++++++++++++++++++++++
    559559  delete(periode);
    560   Free(&dir);
     560  delete[](dir);
    561561  DoLog(0) && (Log() << Verbose(0) << "done." << endl);
    562562  return 0;
Note: See TracChangeset for help on using the changeset viewer.