summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-27 19:20:51 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-27 19:20:51 +0000
commit4161903017f66f2a91f72df5bf44f6165cbfffde (patch)
tree12037acf600fd2f4480da4c2cc9f2b53410cc973 /include/m_protoint.h
parent32aae7efde9a2a9d46b47865fca5a998c09c0c5c (diff)
another forgotten va_end
git-svn-id: http://svn.miranda-ng.org/main/trunk@15048 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_protoint.h')
-rw-r--r--include/m_protoint.h2
1 files changed, 2 insertions, 0 deletions
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) {