summaryrefslogtreecommitdiff
path: root/src/network/network_client.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-01 22:30:35 +0000
committerrubidium <rubidium@openttd.org>2007-02-01 22:30:35 +0000
commit51c2af6e5e17c6be093348eecae536c1d9a11709 (patch)
treed1732ff5833da9103bce694429be7bf8317b2f50 /src/network/network_client.cpp
parent752ca4ebf7358a62d09ccb9d85cec53f5162bc8e (diff)
downloadopenttd-51c2af6e5e17c6be093348eecae536c1d9a11709.tar.xz
(svn r8521) -Codechange: initial step in converting Packet to a class; make and use constructors and functions related to the reading/saving the packet size.
Diffstat (limited to 'src/network/network_client.cpp')
-rw-r--r--src/network/network_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index abc61ff46..c1fb84c63 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -864,7 +864,7 @@ NetworkRecvStatus NetworkClient_ReadPackets(NetworkTCPSocketHandler *cs)
DEBUG(net, 0, "[client] received invalid packet type %d", type);
}
- free(p);
+ delete p;
}
return res;