Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5218 in orxonox.OLD for trunk/src/lib/graphics/importer


Ignore:
Timestamp:
Sep 22, 2005, 5:30:01 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: more error-fixes… thanks Valgrind team :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/model.cc

    r5217 r5218  
    110110  if (this->listNumber != 0)
    111111    glDeleteLists(this->listNumber, 1);
     112
     113  if (this->name[0] != '\0')
     114    delete[] this->name;
    112115
    113116  if (this->next !=NULL)
     
    446449  if (this->groupCount != 0 && this->currentGroup->faceCount > 0)
    447450    {
    448       //      finalizeGroup(currentGroup);
     451      // finalizeGroup(currentGroup);
    449452      this->currentGroup = this->currentGroup->next = new ModelGroup;
    450453    }
Note: See TracChangeset for help on using the changeset viewer.