Skip to content
This repository
Browse code

Fix a global leak

  • Loading branch information...
commit 77dfad7df4416f0c8382a0cc6e9e9034d7ee5b47 1 parent 6313253
Kiyoshi Nomo authored March 24, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/libxml-to-js.js
4  lib/libxml-to-js.js
@@ -10,11 +10,11 @@ var libxmljs = require('libxmljs');
10 10
 var merge = function (obj1, obj2) {
11 11
 	var obj3 = {};
12 12
 	
13  
-	for (attrname in obj1) {
  13
+	for (var attrname in obj1) {
14 14
 		obj3[attrname] = obj1[attrname];
15 15
 	}
16 16
 	
17  
-	for (attrname in obj2) {
  17
+	for (var attrname in obj2) {
18 18
 		obj3[attrname] = obj2[attrname];
19 19
 	}
20 20
 	

0 notes on commit 77dfad7

Please sign in to comment.
Something went wrong with that request. Please try again.