Permalink
Browse files

Null created elements in support to avoid leaks in IE. Tested IE6-8. …

…Leaks are contained to the byte. Fixes #9294.
  • Loading branch information...
1 parent a5396bd commit 657b197c193335899703fc158b153e2475cca539 timmywil committed May 25, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/support.js
View
@@ -245,6 +245,9 @@ jQuery.support = (function() {
}
}
+ // Null connected elements to avoid leaks in IE
+ marginDiv = div = input = null;
+
return support;
})();

0 comments on commit 657b197

Please sign in to comment.