Qt: Fix memory leak in ~GameController

This commit is contained in:
Jeffrey Pfau 2014-11-05 02:45:23 -08:00
parent f4d6ef74b4
commit b01e15b913
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ GameController::~GameController() {
m_audioThread->wait();
disconnect();
closeGame();
GBAInputMapDeinit(&m_threadContext.inputMap);
delete m_renderer;
delete[] m_drawContext;
}