Skip to content

Commit 59cd281

Browse files
ustarvagg
authored andcommitted
Add missing va_end before return
PR-URL: #3565 Reviewed-By: Brian White <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 89285db commit 59cd281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node.cc

+1
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)