summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-10-11 14:33:38 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-10-11 14:33:38 +0000
commitcb5306a59d15b6f548a2e59da69d32dddcdd47ae (patch)
treebd936c24f28cf6548e6fbffee8caff2d3c840b27
parent879b94d26b59990d5cc980decbfc51a71c9883f4 (diff)
Added missing va_end
git-svn-id: http://svn.miranda-ng.org/main/trunk@15534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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);
}
/////////////////////////////////////////////////////////////////////////////////////////