diff --git a/src/debug/scr_printf.c b/src/debug/scr_printf.c index 35216948..9e8157ee 100644 --- a/src/debug/scr_printf.c +++ b/src/debug/scr_printf.c @@ -420,6 +420,7 @@ void pspDebugScreenPrintf(const char *format, ...) va_start(opt, format); bufsz = vsnprintf( buff, (size_t) sizeof(buff), format, opt); (void) pspDebugScreenPrintData(buff, bufsz); + va_end(opt); } #endif