From c0c9f9c1a955082ee31157ab2ba2e10a8e6fabdc Mon Sep 17 00:00:00 2001 From: diamant3 Date: Wed, 27 Sep 2023 22:17:54 +0800 Subject: [PATCH] fix `va_end` missing --- src/debug/scr_printf.c | 1 + 1 file changed, 1 insertion(+) 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