Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5210 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Sep 21, 2005, 12:01:25 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: other minor valgrid found error-fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.cc

    r5206 r5210  
    9494  while (charElem != NULL)
    9595  {
    96     delete charElem;
     96    delete[] charElem;
    9797    charElem = bufferIterator->nextElement();
    9898  }
     
    180180    if (this->buffer->getSize() > this->bufferSize)
    181181    {
    182       delete this->buffer->firstElement();
     182      delete[] this->buffer->firstElement();
    183183      this->buffer->remove(this->buffer->firstElement());
    184184    }
Note: See TracChangeset for help on using the changeset viewer.