all repos — mgba @ 50d76d952891c2a981b17732160229d901c9fd0a

mGBA Game Boy Advance Emulator

Qt: Fix draw context memory leak when deleting the GameController
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Nov 2014 02:28:03 -0800
commit

50d76d952891c2a981b17732160229d901c9fd0a

parent

cbe5fbfeea1f2d128598a32290c3aa900a432e7d

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/qt/GameController.cppsrc/platform/qt/GameController.cpp

@@ -95,6 +95,7 @@ m_audioThread->wait();

disconnect(); closeGame(); delete m_renderer; + delete[] m_drawContext; } ARMDebugger* GameController::debugger() {