Changeset 1251
- Timestamp:
- May 8, 2008, 3:07:07 PM (17 years ago)
- Location:
- code/branches/network3/src/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network3/src/network/Client.cc
r1248 r1251 237 237 COUT(3) << "Problem adding partial gamestate to queue" << std::endl; 238 238 // now delete it to save memory 239 delete 239 delete[] gs->data; 240 240 delete gs; 241 241 } -
code/branches/network3/src/network/GameStateManager.cc
r1248 r1251 261 261 } 262 262 263 delete[] state->data; 264 delete state; 263 265 return true; 264 266 } … … 417 419 gamestate->complete = a->complete; 418 420 419 delete[] a->data; //delete compressed data420 delete a; //we do not need the old (struct) gamestate anymore421 421 422 422 return gamestate; -
code/branches/network3/src/network/PacketDecoder.cc
r1248 r1251 239 239 COUT(3) << "PacketDecoder-process: processing Gamestate" << std::endl; 240 240 //printGamestate( state ); 241 delete[] state->data;242 delete state;241 // delete[] state->data; 242 // delete state; 243 243 } 244 244
Note: See TracChangeset
for help on using the changeset viewer.