Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2009, 8:53:51 PM (15 years ago)
Author:
scheusso
Message:

some cleaning up and memory leak fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp6/src/network/GamestateClient.cc

    r3214 r3227  
    5252
    5353  GamestateClient::~GamestateClient() {
     54      std::map<unsigned int, packet::Gamestate *>::iterator it;
     55      for ( it = this->gamestateMap_.begin(); it != this->gamestateMap_.end(); ++it )
     56          delete (*it).second;
     57      if( this->tempGamestate_ )
     58          delete this->tempGamestate_;
    5459  }
    5560
Note: See TracChangeset for help on using the changeset viewer.