src/station.cpp
changeset 8754 5dae65402806
parent 8750 fdd6054e7bae
child 8760 ce0891c412ce
equal deleted inserted replaced
8753:33e297b1595d 8754:5dae65402806
    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()) {