diff options
-rw-r--r-- | src/vehicle.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 34ad91492..bed1d0fcc 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -497,6 +497,8 @@ void Vehicle::PreDestructor() Station::Get(this->last_station_visited)->loading_vehicles.remove(this); HideFillingPercent(&this->fill_percent_te_id); + + delete this->cargo_payment; } if (IsEngineCountable(this)) { |