From 4161903017f66f2a91f72df5bf44f6165cbfffde Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 27 Aug 2015 19:20:51 +0000 Subject: another forgotten va_end git-svn-id: http://svn.miranda-ng.org/main/trunk@15048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_protoint.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_protoint.h b/include/m_protoint.h index bff7adb764..f7777fbf0c 100644 --- a/include/m_protoint.h +++ b/include/m_protoint.h @@ -104,12 +104,14 @@ struct MIR_APP_EXPORT PROTO_INTERFACE : public MZeroedObject va_list args; va_start(args, szFormat); ProtoLogA(this, szFormat, args); + va_end(args); } __inline void debugLogW(LPCWSTR wszFormat, ...) { va_list args; va_start(args, wszFormat); ProtoLogW(this, wszFormat, args); + va_end(args); } __forceinline void WindowSubscribe(HWND hwnd) { -- cgit v1.2.3