Ignore:
Timestamp:
2005-04-12T09:08:04+12:00 (19 years ago)
Author:
kjdon
Message:

delete -> delete [] change submitted by Emanuel Dejanu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/mgsearch.cpp

    r9620 r9631  
    280280
    281281  // free up the c strings
    282   delete ccollection;
    283   delete idxsuffix;
    284   delete txtsuffix;
    285   delete ccollectdir;
     282  delete []ccollection;
     283  delete []idxsuffix;
     284  delete []txtsuffix;
     285  delete []ccollectdir;
    286286
    287287  return databaseloaded;
     
    408408
    409409  // destroy the temporary character array
    410   delete querystring;
     410  delete []querystring;
    411411}
    412412
     
    529529//    assert (ccollection != NULL);
    530530//    databaseloaded = load_text_database (ccollection);
    531 //    delete ccollection;
     531//    delete []ccollection;
    532532 
    533533  // try and load the database
Note: See TracChangeset for help on using the changeset viewer.