Ignore:
Timestamp:
1999-10-18T12:43:31+13:00 (25 years ago)
Author:
cs025
Message:

Changes to eradicate Xmalloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/grbIndex.cpp

    r659 r711  
    2424/*
    2525   $Log$
     26   Revision 1.4  1999/10/17 23:43:24  cs025
     27   Changes to eradicate Xmalloc
     28
    2629   Revision 1.3  1999/10/12 04:13:11  cs025
    2730   Changes made to eradicate use of GetEnv elsewhere.
     
    184187    {
    185188      if (Stats[i].name)
    186         Xfree (Stats[i].name);
     189        delete Stats[i].name;
    187190      if (Stats[i].text)
    188         Xfree (Stats[i].text);
     191        delete Stats[i].text;
    189192    }
    190193      Xfree (Stats);
     
    483486  if (post_proc)
    484487    {
    485       Xfree (post_proc);
     488      delete post_proc;
    486489      post_proc = NULL;
    487490    }
     
    940943  if (OutputType == OUTPUT_TEXT || OutputType == OUTPUT_HILITE)
    941944    {
    942       Xfree (doc_sepstr);
    943       Xfree (para_sepstr);
    944       Xfree (para_start);
     945      delete doc_sepstr;
     946      delete para_sepstr;
     947      delete para_start;
    945948    }
    946949
     
    955958  de_escape_string (terminator);
    956959  fputs (terminator, out);
    957   Xfree (terminator);
     960  delete terminator;
    958961}
    959962
Note: See TracChangeset for help on using the changeset viewer.