mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[raknet] Match RakPeer::DeallocatePacket(...)
This commit is contained in:
@ -1030,7 +1030,9 @@ void RakPeer::DeallocatePacket( Packet *packet )
|
||||
return;
|
||||
|
||||
if (packet->deleteData)
|
||||
delete packet->data;
|
||||
if (packet->data)
|
||||
delete packet->data;
|
||||
|
||||
free(packet);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user