summaryrefslogtreecommitdiff
path: root/include/m_protoint.h
diff options
context:
space:
mode:
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) {