From 59cd28114dbb8fee78adb2a6dd35e1f08b327a1c 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 892a76b63e..7dfa708b7b 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; }