Fixed a lot of memory leaks caused by static globals never getting

deleted and some other objects not getting deleted properly due to missing
destructors.
This commit is contained in:
Shenjoku
2013-04-18 21:17:57 -07:00
parent 5f7001ef0a
commit 01456ed0b9
29 changed files with 239 additions and 171 deletions
+5
View File
@@ -22,6 +22,11 @@ MenuTimer::MenuTimer()
WARNING_COMMAND = NULL;
}
MenuTimer::~MenuTimer()
{
delete WARNING_COMMAND;
}
void MenuTimer::Load( RString sMetricsGroup )
{
m_sprFrame.Load( THEME->GetPathG(sMetricsGroup, "Frame") );