Qt: Fix draw context memory leak when deleting the GameController

This commit is contained in:
Jeffrey Pfau 2014-11-05 02:28:03 -08:00
parent cbe5fbfeea
commit 50d76d9528
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ GameController::~GameController() {
disconnect(); disconnect();
closeGame(); closeGame();
delete m_renderer; delete m_renderer;
delete[] m_drawContext;
} }
ARMDebugger* GameController::debugger() { ARMDebugger* GameController::debugger() {