Changeset 7407 in orxonox.OLD for trunk/src/lib/shell/shell_command.cc
- Timestamp:
- Apr 27, 2006, 8:42:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_command.cc
r7403 r7407 46 46 this->executor->setName(commandName); 47 47 48 for (unsigned int i = 0; i < this->executor->getParamCount(); i++) 49 this->completors.push_back(new CompletorDefault(&this->executor->getDefaultValue(i))); 48 50 this->alias = NULL; 49 51 … … 62 64 if (this->alias != NULL) 63 65 delete this->alias; 66 while (!this->completors.empty()) 67 { 68 delete this->completors.back(); 69 this->completors.pop_back(); 70 } 64 71 delete this->executor; 65 72 }
Note: See TracChangeset
for help on using the changeset viewer.