fix: insert required va_end() call

This commit is contained in:
Stas Degteff 2011-02-21 22:09:01 +00:00
parent 6c0ee5823a
commit 4ae22df357

View File

@ -811,6 +811,7 @@ int gsprintf(TCHAR* buffer, size_t sizeOfBuffer, const TCHAR* __file, int __line
# else # else
# error Please look C library of your compiler for function like vsnprintf, what do not write more than size bytes into string. # error Please look C library of your compiler for function like vsnprintf, what do not write more than size bytes into string.
# endif # endif
va_end(argptr);
} }
return ret; return ret;