Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5088 in orxonox.OLD for trunk/src/lib/coord


Ignore:
Timestamp:
Aug 21, 2005, 6:25:54 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: initialize and delete toCoord/toDir in PNode and Element2D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5083 r5088  
    9090  if (this->parent)
    9191    this->parent->removeChild(this);
     92
     93  if (this->toCoordinate != NULL)
     94    delete this->toCoordinate;
     95  if (this->toDirection != NULL)
     96    delete this->toDirection;
     97
    9298}
    9399
Note: See TracChangeset for help on using the changeset viewer.