diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/core/tcp_game.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp_game.cpp b/src/network/core/tcp_game.cpp index 3cf1a468b..258f9c6b2 100644 --- a/src/network/core/tcp_game.cpp +++ b/src/network/core/tcp_game.cpp @@ -141,6 +141,7 @@ NetworkRecvStatus NetworkGameSocketHandler::Recv_Packets() Packet *p; while ((p = this->Recv_Packet()) != NULL) { NetworkRecvStatus res = HandlePacket(p); + delete p; if (res != NETWORK_RECV_STATUS_OKAY) return res; } |