1
0
Fork 0

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

release/0.6
KUDr 2007-01-14 19:44:27 +00:00
parent 1eac31a1d8
commit 19d31c7417
1 changed files with 0 additions and 2 deletions

View File

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