From da96e07bbe922fba3f6c4c7bd83fcbf4236a90da Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 2 Dec 2010 16:45:34 -0800 Subject: [PATCH] fix global leak --- src/node.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node.js b/src/node.js index 59ce94b183..f8b53add8d 100644 --- a/src/node.js +++ b/src/node.js @@ -121,6 +121,7 @@ // Modules var debugLevel = parseInt(process.env['NODE_DEBUG'], 16); + var debug; if (debugLevel & 1) { debug = function(x) { console.error(x); }; } else {