- Timestamp:
- Aug 21, 2005, 6:25:54 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5083 r5088 90 90 if (this->parent) 91 91 this->parent->removeChild(this); 92 93 if (this->toCoordinate != NULL) 94 delete this->toCoordinate; 95 if (this->toDirection != NULL) 96 delete this->toDirection; 97 92 98 } 93 99 -
trunk/src/lib/graphics/render2D/element_2d.cc
r5084 r5088 45 45 // delete what has to be deleted here 46 46 Render2D::getInstance()->unregisterElement2D(this); 47 48 if (this->toCoordinate != NULL) 49 delete this->toCoordinate; 50 if (this->toDirection != NULL) 51 delete this->toDirection; 47 52 } 48 53 … … 65 70 this->bRelCoorChanged = true; 66 71 this->bRelDirChanged = true; 72 this->toCoordinate = NULL; 73 this->toDirection = NULL; 67 74 if (parent == NULL) 68 75 this->parent = NULL;
Note: See TracChangeset
for help on using the changeset viewer.