Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 14, 2011, 8:58:47 AM (14 years ago)
Author:
scheusso
Message:

fixing possible malloc/delete problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network6/src/libraries/network/Connection.cc

    r7878 r7881  
    208208          // peer probably already disconnected so just discard packet
    209209          assert(event.peerID<this->nextPeerID_);
    210           delete event.packet;
     210          enet_packet_destroy(event.packet);
    211211        }
    212212        break;
Note: See TracChangeset for help on using the changeset viewer.