forked from mirror/OpenTTD
(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
This commit is contained in:
@@ -70,8 +70,6 @@ static void StationPoolCleanBlock(uint start_item, uint end_item)
|
|||||||
|
|
||||||
for (i = start_item; i <= end_item; i++) {
|
for (i = start_item; i <= end_item; i++) {
|
||||||
Station *st = GetStation(i);
|
Station *st = GetStation(i);
|
||||||
free(st->speclist);
|
|
||||||
st->speclist = NULL;
|
|
||||||
if (IsValidStation(st)) st->~Station();
|
if (IsValidStation(st)) st->~Station();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user