From 83e1fdcb0167c36729889511f7b1165038044c88 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 5 Aug 2007 21:20:55 +0000 Subject: (svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works. --- src/waypoint.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/waypoint.h') 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(TileIndex tile = 0); ~Waypoint(); - void QuickFree(); - bool IsValid() const; }; -- cgit v1.2.3-54-g00ecf