From 907a13a07ff302b75157e492f724daee8a4a5c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= Date: Wed, 28 Oct 2015 15:49:51 +0300 Subject: [PATCH] Add missing va_end before return PR-URL: https://github.com/nodejs/node/pull/3565 Reviewed-By: Brian White Reviewed-By: James M Snell --- src/node.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.cc b/src/node.cc index 18b92d382522fc..0a2929baffb0b1 100644 --- a/src/node.cc +++ b/src/node.cc @@ -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; }