Skip to content

Commit

Permalink
Add missing va_end before return
Browse files Browse the repository at this point in the history
PR-URL: #3565
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
usta authored and rvagg committed Nov 6, 2015
1 parent 89285db commit 59cd281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 59cd281

Please sign in to comment.