summaryrefslogtreecommitdiff
path: root/network_udp.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-17 10:37:20 +0000
committertron <tron@openttd.org>2006-06-17 10:37:20 +0000
commit50cfa9403dab548f9607c02739923f3fefeca093 (patch)
tree571f11d085fac3d7f7dc618173d75b0ef228b763 /network_udp.c
parent670e47eec36b11e77eb186e6fadd2b46dd3361ca (diff)
downloadopenttd-50cfa9403dab548f9607c02739923f3fefeca093.tar.xz
(svn r5294) -Fix: Plug a memory leak
Diffstat (limited to 'network_udp.c')
-rw-r--r--network_udp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/network_udp.c b/network_udp.c
index 6885ea76f..8d77d6e37 100644
--- a/network_udp.c
+++ b/network_udp.c
@@ -489,6 +489,8 @@ static void NetworkUDPBroadCast(SOCKET udp)
i++;
}
+
+ free(p);
}