From 820d46535186d9a71bc5924effbca20e8fd64ebd Mon Sep 17 00:00:00 2001 From: Thomas Nixon Date: Tue, 10 Apr 2012 23:27:13 +0200 Subject: [PATCH] Don't leak the 'prop' variable. --- lib/lines-adapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lines-adapter.js b/lib/lines-adapter.js index 7968133..79adb0f 100644 --- a/lib/lines-adapter.js +++ b/lib/lines-adapter.js @@ -24,7 +24,7 @@ function Lines(stream, encoding) } ); - for (prop in stream) { + for (var prop in stream) { if (this[prop]) { continue; }