Skip to content

Commit

Permalink
🐛 Fix missing va_end in UnwPrintf (MarlinFirmware#25027)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivalik authored and thinkyhead committed Dec 16, 2022
1 parent 1201788 commit d2ece1e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Marlin/src/HAL/shared/backtrace/unwarm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@
void UnwPrintf(const char *format, ...) {
va_list args;

va_start( args, format );
vprintf(format, args );
va_start(args, format);
vprintf(format, args);
va_end(args);
}
#endif

Expand Down

0 comments on commit d2ece1e

Please sign in to comment.