projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[D3D9][ARPING] Add missing va_start() and va_end() (#371)
[reactos.git]
/
dll
/
directx
/
d3d9
/
d3d9_helpers.c
diff --git
a/dll/directx/d3d9/d3d9_helpers.c
b/dll/directx/d3d9/d3d9_helpers.c
index
6231f40
..
2747eab
100644
(file)
--- a/
dll/directx/d3d9/d3d9_helpers.c
+++ b/
dll/directx/d3d9/d3d9_helpers.c
@@
-48,6
+48,7
@@
HRESULT SafeFormatString(OUT LPSTR Buffer, IN DWORD BufferSize, IN LPCSTR Format
va_start(vargs, FormatString);
BytesWritten = _vsnprintf(Buffer, BufferSize-1, FormatString, vargs);
+ va_end(vargs);
if (BytesWritten < BufferSize)
return DDERR_GENERIC;