Skip to content

Commit

Permalink
🐛 Fix missing va_end in UnwPrintf (#25027)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivalik authored Nov 28, 2022
1 parent 463f35e commit d4d1112
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 d4d1112

Please sign in to comment.