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/bool_tree.cpp

    r655 r711  
    4141{
    4242  bool_tree_node *n;
    43   if (!(n = (bool_tree_node *) Xmalloc (sizeof (bool_tree_node))))
     43  if (!(n = new bool_tree_node))
    4444    FatalError (1, "Can not create bool_tree_node for boolean query");
    4545  n->tag = tag;
     
    125125    FreeTree (BOOL_CHILD (tree));
    126126      sibling = BOOL_SIBLING (tree);
    127       Xfree (tree);
     127      delete (tree);
    128128      tree = sibling;
    129129    }
Note: See TracChangeset for help on using the changeset viewer.