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

pull/155/head
KUDr 18 years ago
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…
Cancel
Save