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 | 8f719a7b2d8de79d8f456ef30ddde5f30100f18a (patch) | |
tree | bfe043c51f23052fc39f35769a2ede1e66998148 /src/group.h | |
parent | dfe851e02f21c002607ddd9bdf12f145a5ed070c (diff) | |
download | openttd-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/group.h')
-rw-r--r-- | src/group.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/group.h b/src/group.h index b4303e70c..e5c10a59f 100644 --- a/src/group.h +++ b/src/group.h @@ -29,8 +29,6 @@ struct Group : PoolItem<Group, GroupID, &_Group_pool> { Group(StringID str = STR_NULL); virtual ~Group(); - void QuickFree(); - bool IsValid() const; }; |