Fixed a memory leak.

fork
Jérémy Bethmont 13 years ago
parent 56fe37ce3e
commit d03b03d11c

@ -1487,7 +1487,7 @@ function extend() {
// if last one is own, then all properties are own. // if last one is own, then all properties are own.
var last_key; var last_key;
for (key in obj) for (var key in obj)
last_key = key; last_key = key;
return typeof last_key === "undefined" || hasOwnProperty.call(obj, last_key); return typeof last_key === "undefined" || hasOwnProperty.call(obj, last_key);

Loading…
Cancel
Save