mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Fix some memory leaks on packet sending.
This commit is contained in:
@@ -956,6 +956,7 @@ void Client::Send(NetworkPacket* pkt)
|
||||
serverCommandFactoryTable[pkt->getCommand()].channel,
|
||||
pkt,
|
||||
serverCommandFactoryTable[pkt->getCommand()].reliable);
|
||||
delete pkt;
|
||||
}
|
||||
|
||||
void Client::interact(u8 action, const PointedThing& pointed)
|
||||
|
Reference in New Issue
Block a user