Permalink
Browse files

Fix a global leak

  • Loading branch information...
kysnm committed Mar 24, 2012
1 parent 6313253 commit 77dfad7df4416f0c8382a0cc6e9e9034d7ee5b47
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/libxml-to-js.js
View
@@ -10,11 +10,11 @@ var libxmljs = require('libxmljs');
var merge = function (obj1, obj2) {
var obj3 = {};
- for (attrname in obj1) {
+ for (var attrname in obj1) {
obj3[attrname] = obj1[attrname];
}
- for (attrname in obj2) {
+ for (var attrname in obj2) {
obj3[attrname] = obj2[attrname];
}

0 comments on commit 77dfad7

Please sign in to comment.