Skip to content

Commit d2ece1e

Browse files
trivalikthinkyhead
authored andcommitted
🐛 Fix missing va_end in UnwPrintf (MarlinFirmware#25027)
1 parent 1201788 commit d2ece1e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Marlin/src/HAL/shared/backtrace/unwarm.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333
void UnwPrintf(const char *format, ...) {
3434
va_list args;
3535

36-
va_start( args, format );
37-
vprintf(format, args );
36+
va_start(args, format);
37+
vprintf(format, args);
38+
va_end(args);
3839
}
3940
#endif
4041

0 commit comments

Comments
 (0)