diff options
Diffstat (limited to 'setup_native/source/win32/customactions/tools/seterror.cxx')
-rw-r--r-- | setup_native/source/win32/customactions/tools/seterror.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setup_native/source/win32/customactions/tools/seterror.cxx b/setup_native/source/win32/customactions/tools/seterror.cxx index c7de7b7a761a..a9af467b2068 100644 --- a/setup_native/source/win32/customactions/tools/seterror.cxx +++ b/setup_native/source/win32/customactions/tools/seterror.cxx @@ -44,6 +44,7 @@ inline void OutputDebugStringFormat( LPCTSTR pFormat, ... ) va_start( args, pFormat ); StringCchVPrintf( buffer, sizeof(buffer), pFormat, args ); OutputDebugString( buffer ); + va_end(args); } #else static inline void OutputDebugStringFormat( LPCTSTR, ... ) |