aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2009-04-21 18:46:39 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2009-04-21 18:46:39 +0000
commit92a076cb2f7679043575977092be1233cb1c687f (patch)
tree78072bf7365f16edd2b594f09b0b4f6fd47de841 /src/support.js
parent4130319e97b1c591d394b73961b6772559cd0549 (diff)
downloadjquery-92a076cb2f7679043575977092be1233cb1c687f.tar.gz
jquery-92a076cb2f7679043575977092be1233cb1c687f.zip
fixing memory leaks in IE
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js3
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 = {