Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 7, 2008, 5:34:35 PM (16 years ago)
Author:
scheusso
Message:

fixed some memory leaks (not all though)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network3/src/network/GameStateClient.cc

    r1245 r1246  
    289289
    290290    switch ( retval ) {
    291       case Z_OK: COUT(5) << "G.St.Man: compress: successfully compressed" << std::endl; break;
    292       case Z_MEM_ERROR: COUT(1) << "G.St.Man: compress: not enough memory available in gamestate.compress" << std::endl;
    293       return NULL;
    294       case Z_BUF_ERROR: COUT(2) << "G.St.Man: compress: not enough memory available in the buffer in gamestate.compress" << std::endl;
    295       return NULL;
    296       case Z_DATA_ERROR: COUT(2) << "G.St.Man: compress: data corrupted in gamestate.compress" << std::endl;
     291      case Z_OK: COUT(5) << "G.St.Cl: compress: successfully compressed" << std::endl; break;
     292      case Z_MEM_ERROR: COUT(1) << "G.St.Cl: compress: not enough memory available in gamestate.compress" << std::endl;
     293      return NULL;
     294      case Z_BUF_ERROR: COUT(2) << "G.St.Cl: compress: not enough memory available in the buffer in gamestate.compress" << std::endl;
     295      return NULL;
     296      case Z_DATA_ERROR: COUT(2) << "G.St.Cl: compress: data corrupted in gamestate.compress" << std::endl;
    297297      return NULL;
    298298    }
Note: See TracChangeset for help on using the changeset viewer.