From 8f719a7b2d8de79d8f456ef30ddde5f30100f18a 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/town.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/town.h') diff --git a/src/town.h b/src/town.h index bda85ff78..6d5707146 100644 --- a/src/town.h +++ b/src/town.h @@ -160,8 +160,6 @@ struct Town : PoolItem { ~Town(); bool IsValid() const { return this->xy != 0; } - - void QuickFree(); }; struct HouseSpec { -- cgit v1.2.3-54-g00ecf