Ignore:
Timestamp:
2004-11-29T15:43:11+13:00 (19 years ago)
Author:
kjdon
Message:

Added the changes from Emanuel Dejanu (Simple Words) - mostly efficiency changes. For example, changing i++ to ++i, delete xxx to delete []xxx, some stuff to do with UCArrays...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/text/mg_errors.cpp

    r3365 r8692  
    5151  /* free the current error string, unless it is the null string */
    5252  if ((mg_error_data != NULL) && (mg_error_data != null_data)) {
    53     delete mg_error_data;
     53    delete []mg_error_data;
    5454    mg_error_data = null_data;
    5555  }
     
    6767  /* free the current error string, unless it is the null string */
    6868  if ((mg_error_data != NULL) && (mg_error_data != null_data)) {
    69     delete mg_error_data;
     69    delete []mg_error_data;
    7070    mg_error_data = null_data;
    7171  }
Note: See TracChangeset for help on using the changeset viewer.