summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-05 21:20:55 +0000
committerrubidium <rubidium@openttd.org>2007-08-05 21:20:55 +0000
commit8f719a7b2d8de79d8f456ef30ddde5f30100f18a (patch)
treebfe043c51f23052fc39f35769a2ede1e66998148 /src/station.h
parentdfe851e02f21c002607ddd9bdf12f145a5ed070c (diff)
downloadopenttd-8f719a7b2d8de79d8f456ef30ddde5f30100f18a.tar.xz
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/station.h b/src/station.h
index b6e3596be..866375a42 100644
--- a/src/station.h
+++ b/src/station.h
@@ -159,8 +159,6 @@ struct Station : PoolItem<Station, StationID, &_Station_pool> {
Station(TileIndex tile = 0);
virtual ~Station();
- void QuickFree();
-
void AddFacility(byte new_facility_bit, TileIndex facil_xy);
void MarkDirty() const;
void MarkTilesDirty(bool cargo_change) const;