mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)
This commit is contained in:
parent
97993d279e
commit
c04c2b2824
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user