1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix some memory leaks on packet sending.

This commit is contained in:
Loic Blot 2015-02-21 17:24:27 +01:00
parent 5a5854ea9d
commit 009149a073
4 changed files with 13 additions and 12 deletions

View file

@ -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)