diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-05-25 14:30:46 -0400 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-05-25 14:30:46 -0400 |
commit | 657b197c193335899703fc158b153e2475cca539 (patch) | |
tree | 2274be9d0375f88c139313e796fee8a6aa67b440 /src/support.js | |
parent | a5396bde7008470d22d562303ac6fbfbe8ebdaec (diff) | |
download | jquery-657b197c193335899703fc158b153e2475cca539.tar.gz jquery-657b197c193335899703fc158b153e2475cca539.zip |
Null created elements in support to avoid leaks in IE. Tested IE6-8. Leaks are contained to the byte. Fixes #9294.
Diffstat (limited to 'src/support.js')
-rw-r--r-- | src/support.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/support.js b/src/support.js index e0474e763..b500f9009 100644 --- a/src/support.js +++ b/src/support.js @@ -245,6 +245,9 @@ jQuery.support = (function() { } } + // Null connected elements to avoid leaks in IE + marginDiv = div = input = null; + return support; })(); |