Changeset 5210 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Sep 21, 2005, 12:01:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_buffer.cc
r5206 r5210 94 94 while (charElem != NULL) 95 95 { 96 delete charElem;96 delete[] charElem; 97 97 charElem = bufferIterator->nextElement(); 98 98 } … … 180 180 if (this->buffer->getSize() > this->bufferSize) 181 181 { 182 delete this->buffer->firstElement();182 delete[] this->buffer->firstElement(); 183 183 this->buffer->remove(this->buffer->firstElement()); 184 184 }
Note: See TracChangeset
for help on using the changeset viewer.