From 6b7ed68aef1401237c174c68a6617168e0d71810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20M=C3=B6sch?= Date: Fri, 24 Dec 2021 23:22:13 +0100 Subject: [PATCH] Add va_end() to properly close va_list 'args' --- ArduinoLog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduinoLog.h b/ArduinoLog.h index 33e7564..42e48bf 100644 --- a/ArduinoLog.h +++ b/ArduinoLog.h @@ -369,6 +369,7 @@ class Logging { _logOutput->print(CR); } + va_end(args); #endif } @@ -382,4 +383,4 @@ class Logging #endif }; -extern Logging Log; \ No newline at end of file +extern Logging Log;