diff --git a/CHANGES b/CHANGES index 52dcfe157..a64f20a8e 100644 --- a/CHANGES +++ b/CHANGES @@ -55,6 +55,7 @@ Bugfixes: - GBA Audio: Fix 8-bit writes to audio channel 3 frequency - ARM7: ARMHotplugDetach should call deinit - Qt: Fix window being too tall after exiting fullscreen + - Qt: Fix a missing va_end call in the log handler lambda within the GameController constructor Misc: - Qt: Handle saving input settings better - Debugger: Free watchpoints in addition to breakpoints diff --git a/src/platform/qt/GameController.cpp b/src/platform/qt/GameController.cpp index c7fa7c57c..aab0c873c 100644 --- a/src/platform/qt/GameController.cpp +++ b/src/platform/qt/GameController.cpp @@ -121,6 +121,7 @@ GameController::GameController(QObject* parent) va_list argc; va_copy(argc, args); int immediate = va_arg(argc, int); + va_end(argc); controller->unimplementedBiosCall(immediate); } if (level == GBA_LOG_FATAL) {