Qt: (GameController) Add a missing va_end call to the log handler lambda

This commit is contained in:
Lioncash 2015-07-02 10:13:10 -04:00
parent 06f02ef873
commit 2141868cf2
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ Bugfixes:
- GBA Audio: Fix 8-bit writes to audio channel 3 frequency - GBA Audio: Fix 8-bit writes to audio channel 3 frequency
- ARM7: ARMHotplugDetach should call deinit - ARM7: ARMHotplugDetach should call deinit
- Qt: Fix window being too tall after exiting fullscreen - 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: Misc:
- Qt: Handle saving input settings better - Qt: Handle saving input settings better
- Debugger: Free watchpoints in addition to breakpoints - Debugger: Free watchpoints in addition to breakpoints

View File

@ -121,6 +121,7 @@ GameController::GameController(QObject* parent)
va_list argc; va_list argc;
va_copy(argc, args); va_copy(argc, args);
int immediate = va_arg(argc, int); int immediate = va_arg(argc, int);
va_end(argc);
controller->unimplementedBiosCall(immediate); controller->unimplementedBiosCall(immediate);
} }
if (level == GBA_LOG_FATAL) { if (level == GBA_LOG_FATAL) {