- fixed a few memory leaks
This commit is contained in:
wagic.the.homebrew@gmail.com
2009-03-29 10:33:42 +00:00
parent 2f66c4953f
commit 3994006d7e
12 changed files with 64 additions and 33 deletions

View File

@@ -170,6 +170,8 @@ void GameApp::Destroy()
SAFE_DELETE(collection);
}
SAFE_DELETE(cache);
SampleCache::DestroyInstance();
SAFE_DELETE(CommonRes);
@@ -181,6 +183,10 @@ void GameApp::Destroy()
SAFE_DELETE(music);
delete(DeckStats::GetInstance());
SimpleMenu::destroy();
LOG("==Destroying GameApp Successful==");
}