Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5211 in orxonox.OLD for trunk/src/lib/graphics/importer/model.cc


Ignore:
Timestamp:
Sep 21, 2005, 2:21:41 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: valgrind mem-leak-recovered

File:
1 edited

Legend:

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

    r5115 r5211  
    350350    delete this->normals;
    351351  if (this->triangles)
    352     delete this->triangles;
     352    delete[] this->triangles;
    353353
    354354  this->vertices = NULL;
    355355  this->vTexture = NULL;
    356356  this->normals = NULL;
    357   this->triangles = NULL; this->triangleCount = 0;
     357  this->triangles = NULL;
     358  this->triangleCount = 0;
    358359}
    359360
Note: See TracChangeset for help on using the changeset viewer.