Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2009, 12:24:27 PM (15 years ago)
Author:
scheusso
Message:

various performance and memory issues fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp4/src/network/GamestateManager.cc

    r3120 r3137  
    6363  GamestateManager::~GamestateManager()
    6464  {
     65    if( this->reference )
     66      delete this->reference;
     67    for( std::map<unsigned int, packet::Gamestate*>::iterator it = gamestateQueue.begin(); it != gamestateQueue.end(); it++ )
     68      delete (*it).second;
    6569    delete trafficControl_;
    6670  }
Note: See TracChangeset for help on using the changeset viewer.