Skip to content

Commit

Permalink
Null created elements in support to avoid leaks in IE. Tested IE6-8. …
Browse files Browse the repository at this point in the history
…Leaks are contained to the byte. Fixes #9294.
  • Loading branch information
timmywil committed May 25, 2011
1 parent a5396bd commit 657b197
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/support.js
Expand Up @@ -245,6 +245,9 @@ jQuery.support = (function() {
}
}

// Null connected elements to avoid leaks in IE
marginDiv = div = input = null;

return support;
})();

Expand Down

0 comments on commit 657b197

Please sign in to comment.