From 19d31c7417e4c8ad763c6674b7d1c6f9022e3703 Mon Sep 17 00:00:00 2001 From: KUDr Date: Sun, 14 Jan 2007 19:44:27 +0000 Subject: [PATCH] (svn r8127) -Fix (r8125): removed redundant free() call which is also in Station destructor (Tron) --- src/station_cmd.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 3757a0a752..f2b1a73971 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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(); } }