Permalink
Browse files

Don't leak c1

  • Loading branch information...
pquerna committed Jun 12, 2011
1 parent 0ec48d6 commit 9ee135d70a582ae9f167b6f67345d4598dc41e82
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/test-cidr.js
View
@@ -35,8 +35,7 @@ exports['test_cidr_v4'] = function(test, assert) {
};
exports['test_cidr_v6'] = function(test, assert) {
-
- c1 = new CIDR('a::b/64');
+ var c1 = new CIDR('a::b/64');
assert.deepEqual(c1.v, 6);
assert.deepEqual(c1.subnet, 64);

0 comments on commit 9ee135d

Please sign in to comment.