summaryrefslogtreecommitdiff
path: root/src/network/core/udp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/udp.cpp')
-rw-r--r--src/network/core/udp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 4bf0c1e30..e56c839d0 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -238,7 +238,7 @@ void NetworkUDPSocketHandler::Recv_NetworkGameInfo(Packet *p, NetworkGameInfo *i
if (num_grfs > NETWORK_MAX_GRF_COUNT) return;
for (i = 0; i < num_grfs; i++) {
- GRFConfig *c = CallocT<GRFConfig>(1);
+ GRFConfig *c = new GRFConfig();
this->Recv_GRFIdentifier(p, &c->ident);
this->HandleIncomingNetworkGameInfoGRFConfig(c);