Browse files

Fixed a leak found by Alberto Gimeno (@gimenete)

  • Loading branch information...
1 parent 4941c80 commit d4395a9485b32c56783680efe7b5292144c43f78 @argon committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/util.js
View
2 lib/util.js
@@ -1,6 +1,6 @@
var extend = function(target) {
Array.prototype.slice.call(arguments, 1).forEach(function(source) {
- for (key in source) {
+ for (var key in source) {
if (source[key] !== undefined) {
target[key] = source[key];
}

0 comments on commit d4395a9

Please sign in to comment.