(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:
@@ -27,8 +27,6 @@ struct Sign : PoolItem<Sign, SignID, &_Sign_pool> {
|
||||
~Sign();
|
||||
|
||||
bool IsValid() const { return this->str != STR_NULL; }
|
||||
|
||||
void QuickFree();
|
||||
};
|
||||
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user