From b01e15b913775fefa2ed4ef2a4762ccaecda3bac Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 5 Nov 2014 02:45:23 -0800 Subject: [PATCH] Qt: Fix memory leak in ~GameController --- src/platform/qt/GameController.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index 6ab37e6be..6c28edfe7 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -94,6 +94,7 @@ GameController::~GameController() { m_audioThread->wait(); disconnect(); closeGame(); + GBAInputMapDeinit(&m_threadContext.inputMap); delete m_renderer; delete[] m_drawContext; }