changeset 4035:7ac6b445dab9 draft

(svn r5294) -Fix: Plug a memory leak
author tron <tron@openttd.org>
date Sat, 17 Jun 2006 10:37:20 +0000
parents 0e9cd5a80ae2
children 32030ea30793
files network_udp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/network_udp.c
+++ b/network_udp.c
@@ -489,6 +489,8 @@
 
 		i++;
 	}
+
+	free(p);
 }