summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKUDr <KUDr@openttd.org>2007-01-14 19:44:27 +0000
committerKUDr <KUDr@openttd.org>2007-01-14 19:44:27 +0000
commitc04c2b28245770aa7729b818fb876cd23c880620 (patch)
treeeda839ff56efa72bca3f85d436b43aebe311798b /src
parent97993d279e43a26ac51dbc7a8a38c6fe9448728a (diff)
downloadopenttd-c04c2b28245770aa7729b818fb876cd23c880620.tar.xz
(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
Diffstat (limited to 'src')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 3757a0a75..f2b1a7397 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -70,8 +70,6 @@ static void StationPoolCleanBlock(uint start_item, uint end_item)
for (i = start_item; i <= end_item; i++) {
Station *st = GetStation(i);
- free(st->speclist);
- st->speclist = NULL;
if (IsValidStation(st)) st->~Station();
}
}