diff options
author | rubidium <rubidium@openttd.org> | 2007-08-05 21:20:55 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-05 21:20:55 +0000 |
commit | 83e1fdcb0167c36729889511f7b1165038044c88 (patch) | |
tree | bfe043c51f23052fc39f35769a2ede1e66998148 /src/town.h | |
parent | ab5fa3add2f5f2feeb8f48127f6ee5ab69d42f65 (diff) | |
download | openttd-83e1fdcb0167c36729889511f7b1165038044c88.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/town.h')
-rw-r--r-- | src/town.h | 2 |
1 files changed, 0 insertions, 2 deletions
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, TownID, &_Town_pool> { ~Town(); bool IsValid() const { return this->xy != 0; } - - void QuickFree(); }; struct HouseSpec { |