changeset 8258 | 9fa31acb07bc |
parent 8254 | 1496654ca5e7 |
child 8264 | b1e85998c7d3 |
8257:3151fdbc73f9 | 8258:9fa31acb07bc |
---|---|
59 */ |
59 */ |
60 Station::~Station() |
60 Station::~Station() |
61 { |
61 { |
62 DEBUG(station, cDebugCtorLevel, "I-%3d", index); |
62 DEBUG(station, cDebugCtorLevel, "I-%3d", index); |
63 |
63 |
64 DeleteName(this->string_id); |
64 free(this->name); |
65 free(this->speclist); |
65 free(this->speclist); |
66 |
66 |
67 if (CleaningPool()) return; |
67 if (CleaningPool()) return; |
68 |
68 |
69 while (!loading_vehicles.empty()) { |
69 while (!loading_vehicles.empty()) { |