Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7732 in orxonox.OLD for trunk/src/lib/graphics/importer/md2Model.cc


Ignore:
Timestamp:
May 19, 2006, 4:32:27 PM (18 years ago)
Author:
patrick
Message:

orxonox: removed a memory leak

File:
1 edited

Legend:

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

    r7221 r7732  
    125125MD2Model::~MD2Model()
    126126{
     127  this->pModelInfo.pVertices = NULL;
     128  this->pModelInfo.pNormals = NULL;
     129  this->pModelInfo.pTexCoor = NULL;
     130  this->pModelInfo.pTriangles = NULL;
     131
    127132  ResourceManager::getInstance()->unload(this->data);
    128133}
     
    408413  delete [] this->pLightNormals;
    409414  delete [] this->pTexCoor;
    410 
    411415}
    412416
Note: See TracChangeset for help on using the changeset viewer.