(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:
rubidium
2007-08-05 21:20:55 +00:00
parent dfe851e02f
commit 8f719a7b2d
15 changed files with 48 additions and 67 deletions

View File

@@ -27,14 +27,9 @@ Sign::Sign(StringID string)
}
Sign::~Sign()
{
this->QuickFree();
this->str = STR_NULL;
}
void Sign::QuickFree()
{
DeleteName(this->str);
this->str = STR_NULL;
}
/**