forked from mirror/OpenTTD
(svn r10799) -Fix: only calling QuickFree and not the destructor on pool cleanups might cause memory leaks due to the way C++ works.
This commit is contained in:
@@ -29,8 +29,6 @@ struct Group : PoolItem<Group, GroupID, &_Group_pool> {
|
||||
Group(StringID str = STR_NULL);
|
||||
virtual ~Group();
|
||||
|
||||
void QuickFree();
|
||||
|
||||
bool IsValid() const;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user