diff options
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/station.cpp b/src/station.cpp index 0f1db371d..a0b72e7c6 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -96,6 +96,10 @@ Station::~Station() } } + /* Clear the persistent storage. */ + delete this->airport.psa; + + InvalidateWindowData(WC_STATION_LIST, this->owner, 0); DeleteWindowById(WC_STATION_VIEW, index); |