mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[raknet] Match RakPeer::DeallocatePacket(...)
This commit is contained in:
parent
5fb709859d
commit
f014eb9310
@ -1030,7 +1030,9 @@ void RakPeer::DeallocatePacket( Packet *packet )
|
||||
return;
|
||||
|
||||
if (packet->deleteData)
|
||||
delete packet->data;
|
||||
if (packet->data)
|
||||
delete packet->data;
|
||||
|
||||
free(packet);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user