summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
index e6640b0156..ca9f97aa69 100644
--- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
+++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp
@@ -92,6 +92,7 @@ void WAConnection::logData(const char *format, ...)
char tmp[4000];
vsprintf_s(tmp, format, args);
rawConn->log(">> ", tmp);
+ va_end(args);
}
/////////////////////////////////////////////////////////////////////////////////////////