Add missing va_end before return

PR-URL: https://github.com/nodejs/node/pull/3565
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/3479/merge
Ömer Fadıl Usta 2015-10-28 15:49:51 +03:00 committed by James M Snell
parent faa3bb8663
commit 44a298b61c
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ static void PrintErrorString(const char* format, ...) {
stderr_handle == nullptr ||
uv_guess_handle(_fileno(stderr)) != UV_TTY) {
vfprintf(stderr, format, ap);
va_end(ap);
return;
}