From 0814c28998624bd86aeacfadaf9fbb4ccbd74240 Mon Sep 17 00:00:00 2001 From: chinarulezzz Date: Tue, 17 Apr 2018 23:12:19 +0300 Subject: [PATCH] log/Log.cpp: va_list 'args' was opened but not closed by va_end() --- src/log/Log.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log/Log.cpp b/src/log/Log.cpp index 3e5d5671a..c6030f667 100644 --- a/src/log/Log.cpp +++ b/src/log/Log.cpp @@ -47,6 +47,8 @@ void Log::message(Log::Level level, const char* fmt, ...) backend->message(level, fmt, copy); va_end(copy); } + + va_end(args); }