Skip to content

Commit 29e043c

Browse files
ustajasnell
authored andcommitted
Add missing va_end before return
PR-URL: #3565 Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 875dd4a commit 29e043c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/node.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ static void PrintErrorString(const char* format, ...) {
176176
stderr_handle == nullptr ||
177177
uv_guess_handle(_fileno(stderr)) != UV_TTY) {
178178
vfprintf(stderr, format, ap);
179+
va_end(ap);
179180
return;
180181
}
181182

0 commit comments

Comments
 (0)