Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 8, 2008, 3:07:07 PM (17 years ago)
Author:
scheusso
Message:

memory free problem

File:
1 edited

Legend:

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

    r1248 r1251  
    261261    }
    262262   
     263    delete[] state->data;
     264    delete state;
    263265    return true;
    264266  }
     
    417419    gamestate->complete = a->complete;
    418420
    419     delete[] a->data; //delete compressed data
    420     delete a; //we do not need the old (struct) gamestate anymore
    421421
    422422    return gamestate;
Note: See TracChangeset for help on using the changeset viewer.