changeset 5667:883ea446c61c draft

(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
author KUDr <KUDr@openttd.org>
date Sun, 14 Jan 2007 19:44:27 +0000
parents 1cf4c9bc5bb1
children 3d6d9bff3dd8
files src/station_cmd.cpp
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -70,8 +70,6 @@
 
 	for (i = start_item; i <= end_item; i++) {
 		Station *st = GetStation(i);
-		free(st->speclist);
-		st->speclist = NULL;
 		if (IsValidStation(st)) st->~Station();
 	}
 }