diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2009-04-21 18:46:39 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2009-04-21 18:46:39 +0000 |
commit | 92a076cb2f7679043575977092be1233cb1c687f (patch) | |
tree | 78072bf7365f16edd2b594f09b0b4f6fd47de841 /src/support.js | |
parent | 4130319e97b1c591d394b73961b6772559cd0549 (diff) | |
download | jquery-92a076cb2f7679043575977092be1233cb1c687f.tar.gz jquery-92a076cb2f7679043575977092be1233cb1c687f.zip |
fixing memory leaks in IE
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 04c3a2a69..dc7ad8fef 100644 --- a/src/support.js +++ b/src/support.js @@ -89,6 +89,9 @@ jQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2; document.body.removeChild( div ).style.display = 'none'; }); + + // release memory in IE + root = script = div = all = a = null; })(); jQuery.props = { |