summaryrefslogtreecommitdiff
path: root/src/waypoint.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/waypoint.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/waypoint.h')
-rw-r--r--src/waypoint.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/waypoint.h b/src/waypoint.h
index af24b1906..4926d1313 100644
--- a/src/waypoint.h
+++ b/src/waypoint.h
@@ -30,8 +30,6 @@ struct Waypoint : PoolItem<Waypoint, WaypointID, &_Waypoint_pool> {
Waypoint(TileIndex tile = 0);
~Waypoint();
- void QuickFree();
-
bool IsValid() const;
};