Changeset 5796 for code/branches/core5/src/libraries/core
- Timestamp:
- Sep 26, 2009, 10:15:53 PM (15 years ago)
- Location:
- code/branches/core5/src/libraries/core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/Identifier.cc
r5784 r5796 203 203 { 204 204 BaseObject* temp = it->second->fabricate(0); 205 delete temp;205 temp->destroy(); 206 206 } 207 207 } -
code/branches/core5/src/libraries/core/Loader.cc
r5747 r5796 103 103 { 104 104 if (mask.isIncluded(it->getIdentifier())) 105 delete (*(it++));105 (it++)->destroy(); 106 106 else 107 107 ++it; … … 204 204 { 205 205 if ((it->getFile() == file) && mask.isIncluded(it->getIdentifier())) 206 delete (*(it++));206 (it++)->destroy(); 207 207 else 208 208 ++it; -
code/branches/core5/src/libraries/core/Shell.cc
r5738 r5796 88 88 OutputHandler::getOutStream().setOutputBuffer(0); 89 89 if (this->inputBuffer_) 90 delete this->inputBuffer_;90 this->inputBuffer_->destroy(); 91 91 } 92 92 -
code/branches/core5/src/libraries/core/input/InputManager.cc
r5747 r5796 289 289 290 290 // Destroy calibrator helper handler and state 291 delete keyDetector_;291 keyDetector_->destroy(); 292 292 this->destroyState("calibrator"); 293 293 // Destroy KeyDetector and state 294 delete calibratorCallbackHandler_;294 calibratorCallbackHandler_->destroy(); 295 295 this->destroyState("detector"); 296 296 // destroy the empty InputState … … 722 722 } 723 723 statesByName_.erase(state->getName()); 724 delete state;724 state->destroy(); 725 725 } 726 726 }
Note: See TracChangeset
for help on using the changeset viewer.