Skip to content

Commit

Permalink
Add missing va_end before return
Browse files Browse the repository at this point in the history
PR-URL: nodejs#3565
Reviewed-By: Brian White <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
usta authored and jasnell committed Nov 5, 2015
1 parent faa3bb8 commit 44a298b
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 44a298b

Please sign in to comment.