(svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
KUDr 18 years ago
parent 1eac31a1d8
commit 19d31c7417

@ -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();
}
}

Loading…
Cancel
Save